Emerging libsdl with `x86_64-w64-mingw32-emerge libsdl` results in libsdl missing SDL.dll Reproducible: Always Steps to Reproduce: x86_64-w64-mingw32-emerge libsdl Actual Results: No SDL.dll created Expected Results: SDL.dll created and installed Some checks in libtool prevent it from creating SDL.dll: *** Warning: linker path does not have real file for library -ldxguid. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libdxguid and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/x86_64-w64-mingw32/mingw/lib/libdxguid.a *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. *** Since this library must not contain undefined symbols, *** because either the platform does not support them or *** it was explicitly requested with -no-undefined, *** libtool will only create a static version of it. If compiling from same sources without `x86_64-w64-mingw32-emerge` wrapper, this dll is created and installed. ./configure --target=x86_64-w64-mingw32 --prefix=/some-folder/out make -j; make install Am I doing something wrong or is it a bug?
Created attachment 686298 [details] build.log + emerge --info.txt Not familiar with this but I can reproduce (attaching full log for completeness) Seems to work fine if the ebuild doesn't run eautoreconf and then cross emerge gives me the: -rwxr-xr-x 1 root root 626325 Feb 11 00:49 /usr/x86_64-w64-mingw32/usr/bin/SDL.dll I assume this used to work, so maybe due some recent'ish autotools-related changes but haven't looked further.