http://bugs.winehq.org/show_bug.cgi?id=17268
Summary: configure link tests don't respect the -L from LDFLAGS Product: Wine Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: seppo.yli-olli@iki.fi
Created an attachment (id=19261) --> (http://bugs.winehq.org/attachment.cgi?id=19261) config.log
LDFLAGS="-L/usr/lib32" ./configure Expected results: Configure uses /usr/lib32 to search for libraries to be linked against. Tests append that to their library path and tests succeed. Actual results: Configure sets LDFLAGS on some level, yet ignores LDFLAGS in the actual test, pulls the paths from the system, gets /usr/lib and fails compile tests because there are 64bit libraries in that folder.
I'm not exactly sure which level this can be fixed on (as in, shipping a configure file might be wrong to begin with, autogen.sh which produces the configure file and fixing the files out of which configure script is created of is probably the right course of action), probably requires someone with the ability to deal with autoconf scripting. The version of configure I tried with was pulled from git.