winegcc library creation/import broken

Peter Dons Tychsen donpedro.list at gmail.com
Sun Mar 14 04:26:21 CDT 2021


Hi AJ,

> Because of the loader changes needed to support PE builtins, importing a
> Winelib library directly at the Unix level is currently broken. It may
> be reimplemented at some point, but that's not trivial.

> You can still link to a library at the Unix level (as opposed to
> building an import library and linking to that), but you have to tell
> Wine explicitly about the loaded library. This can be done by adding a
> LoadLibraryA("libtest.so") at the start of your app.

Has anyone tried this recently? Are there any examples of this still working?

I tried to insert LoadLibraryA("libtest.so") with success, but this
did not change anything. Still the same crash.

Thanks,

/pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210314/25f19e93/attachment.htm>


More information about the wine-devel mailing list