summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-06 14:50:52 +0100
committerMichael Adam <obnox@samba.org>2008-03-06 14:56:24 +0100
commita521f39c89e933aa11838e1189274c43c57ecfd6 (patch)
treef5ae9b4f09af16fb2bb3d5280d7011862890a453
parentb4df9f596659ea43a9f1eb29c724fcaed7e4169b (diff)
downloadsamba-a521f39c89e933aa11838e1189274c43c57ecfd6.tar.gz
samba-a521f39c89e933aa11838e1189274c43c57ecfd6.tar.bz2
samba-a521f39c89e933aa11838e1189274c43c57ecfd6.zip
Build: Add an rpath of $(LIBDIR) to binary targets.
This removes the need of setting LD_LIBRARY_PATH. Michael (This used to be commit 3a0f781352f364ce625a35ffd78257b27d984c47)
-rw-r--r--source3/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 7dfa312066..9523b8ce98 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -42,8 +42,8 @@ CPPFLAGS=-DHAVE_CONFIG_H @CPPFLAGS@
EXEEXT=@EXEEXT@
AR=@AR@
-LDSHFLAGS=@LDSHFLAGS@ @LDFLAGS@
-LDFLAGS=@PIE_LDFLAGS@ @LDFLAGS@
+LDSHFLAGS=@LDSHFLAGS@ @LDFLAGS@ -Wl,-R,$(LIBDIR)
+LDFLAGS=@PIE_LDFLAGS@ @LDFLAGS@ -Wl,-R,$(LIBDIR)
WINBIND_NSS_LDSHFLAGS=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
AWK=@AWK@