https://bugs.winehq.org/show_bug.cgi?id=44954
--- Comment #8 from Matthew matthew@digivation.net --- (In reply to Alistair Leslie-Hughes from comment #7)
Created attachment 61356 [details] Check for resource only dll
Can you please try this patch? Apply a top a wine-staging tree.
I applied wine-staging patches to the latest wine-git, then applied your patch ... except patch complained that the 'patch was previously applied.'
I then did a clean clone, re-applied the patches, and verified that the is_resource_dll() function still exists in dlls/ntdll/loader.c
Finally, I did a wow64 build of the code, and observed the same error.