Fix Autotools KDE_CHECK_LIB macro

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1238336 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
master
tpearson 14 years ago
parent 0ce46c7566
commit b3a4aa6097

@ -5532,7 +5532,7 @@ AC_DEFUN([KDE_CHECK_LIB],
kde_save_LDFLAGS="$LDFLAGS" kde_save_LDFLAGS="$LDFLAGS"
dnl AC_CHECK_LIB modifies LIBS, so save it here dnl AC_CHECK_LIB modifies LIBS, so save it here
kde_save_LIBS="$LIBS" kde_save_LIBS="$LIBS"
LDFLAGS="$LDFLAGS $all_libraries" LDFLAGS="$LDFLAGS $all_libraries -ltqt"
case $host_os in case $host_os in
aix*) LDFLAGS="-brtl $LDFLAGS" aix*) LDFLAGS="-brtl $LDFLAGS"
test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS" test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"

Loading…
Cancel
Save