On Monday 19 March 2012 15:39:16 David C. Rankin wrote:
[...]
Looking at
the -ldbus-tqt-1 designation - it is one of the few that
does not have the full path information. Where is that supposed to come
from if not from the pkg-config results? The pkg-config lib results are
correct, so what's up?
I don't know why I had to do it this time, but I just added an export of
CXXFLAGS and it found libdbus-tqt-1:
export CXXFLAGS="${CXXFLAGS} -L/opt/trinity/lib"
How can we/what it the proper way to build library search paths into the
tde build systems so that this information is automatically passed to make
during the build? Can we do something in cmake to make sure the default
$TDEDIR/lib and $TDEDIR/lib/trinity/lib are always passed as flags? This
would take care of over half the spurious build failures I see.
The correct way is to fix .pc file, not to mess cmake scripts :)
--
Serghei