We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3952 - MinGW: help ./configure find shared libraries for dynamic loading
Summary: MinGW: help ./configure find shared libraries for dynamic loading
Status: NEW
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: 2.0.2
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-10 12:33 UTC by Fabian Greffrath
Modified: 2017-11-10 12:33 UTC (History)
0 users

See Also:


Attachments
MinGW: help ./configure find shared libraries for dynamic loading (4.29 KB, patch)
2017-11-10 12:33 UTC, Fabian Greffrath
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Greffrath 2017-11-10 12:33:20 UTC
Created attachment 3078 [details]
MinGW: help ./configure find shared libraries for dynamic loading

We apply the attached patch to the mingw-w64-SDL2_mixer package in MSYS2:

https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-SDL2_mixer

When using the 64-bit variant of the MinGW compiler, the configure script fails to find any of the installed shared libraries for dynamic linking. The patch fixes this issue by replacing the "*-*-mingw32*" search pattern with "*-*-mingw*".

Then, some libraries are installed with a "lib" prefix while others are not. I have extended the problematic cases with both alternatives.

Last but not least, libraries might have been installed into any of the directories accessible via the PATH environment variable, so we search in these paths as well.

Best regards,

 - Fabian