Bug #1127

Updated by skyjake over 8 years ago

When building the engine, ld uses the binaries found in /usr/bin instead of build dir.

I have found that this is because qmake prepends "-L/usr/lib" to LIBS (in each Makefile), which causes it to search for,, etc, in /usr/lib first and then in the build dir where the newest libs are.

I believe it's possible to prepend the correct paths to QMAKE_LIBDIR instead of LIBS, but it just seems like an ugly hack.

*Labels:* qmake, Builder