Project

General

Profile

Bug #1127

Updated by skyjake almost 10 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 libdeng1.so, libdeng2.so, 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

Back