summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-03-11 15:44:45 +0100
committerMichael Adam <obnox@samba.org>2009-03-17 16:50:38 +0100
commitc7dba467f268d0007c58e7de4985dc5386a44c6f (patch)
tree42a8b0d4838ceec7c9e86887bcf18dd29ef8f466 /source3
parent066cbb5835feae90e2ce4172e3c58bf50a2b004b (diff)
downloadsamba-c7dba467f268d0007c58e7de4985dc5386a44c6f.tar.gz
samba-c7dba467f268d0007c58e7de4985dc5386a44c6f.tar.bz2
samba-c7dba467f268d0007c58e7de4985dc5386a44c6f.zip
remove needless rpath stuff for default paths as early as possible
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 70876b913e..2c7c182fe9 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3277,6 +3277,9 @@ if test x"$with_ads_support" != x"no"; then
ac_save_CPPFLAGS=$CPPFLAGS
ac_save_LDFLAGS=$LDFLAGS
+ # remove needless evil rpath stuff as early as possible:
+ LIB_REMOVE_USR_LIB(KRB5_LIBS)
+ LIB_REMOVE_USR_LIB(KRB5_LDFLAGS)
CFLAGS="$KRB5_CFLAGS $CFLAGS"
CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
@@ -6358,7 +6361,6 @@ AC_ZLIB([ZLIB_OBJS=""], [
dnl Remove -L/usr/lib/? from LDFLAGS and LIBS
LIB_REMOVE_USR_LIB(LDFLAGS)
LIB_REMOVE_USR_LIB(LIBS)
-LIB_REMOVE_USR_LIB(KRB5_LIBS)
dnl Remove -I/usr/include/? from CFLAGS and CPPFLAGS
CFLAGS_REMOVE_USR_INCLUDE(CFLAGS)