winegcc library creation/import broken

Alexandre Julliard julliard at winehq.org
Sat Mar 20 04:46:45 CDT 2021


Peter Dons Tychsen <donpedro.list at gmail.com> writes:

> Hi again
>
>> I even copy the DLL to a specific location before linking it with the app,
>> and the same location is used for LoadLibrary().
>
> Ah, found a bug in the makefile that referenced lib/lib.dll.so instead
> of ./lib.dll.so.
> (probably what you already found).
>
> This makes it work again! Thanks!
>
> Do you have any idea if/when this will be fixed in later versions so
> we do not need the LoadLibrary() workaround?

I don't know if/when it will be fixed. I understand that direct Unix
linking is convenient, but it's not the way Windows does it. We may want
instead to work on making it easier to work with import libs and use
proper Windows imports.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list