summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-05-24 12:21:40 +0200
committerBjörn Jacke <bj@sernet.de>2010-05-24 12:25:02 +0200
commit5f0a2a15d89089f78875676099cd8a23a18ace9e (patch)
tree94d2c94f27c7c6dd04267a858464316bbe95a639
parent857ca4176a3f5096629d1aa8a7cd12dd9e224ac1 (diff)
downloadsamba-5f0a2a15d89089f78875676099cd8a23a18ace9e.tar.gz
samba-5f0a2a15d89089f78875676099cd8a23a18ace9e.tar.bz2
samba-5f0a2a15d89089f78875676099cd8a23a18ace9e.zip
s3:Makefile: position independency is also needed for shared libs
-rw-r--r--source3/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index c95ed1487f..bd48d10a90 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -46,8 +46,8 @@ CPPFLAGS=-DHAVE_CONFIG_H @CPPFLAGS@
EXEEXT=@EXEEXT@
AR=@AR@
-LDSHFLAGS=@LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ -lc @LDSHFLAGS_Z_DEFS@
-LDSHFLAGS_MODULES=@LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
+LDSHFLAGS=@PIE_LDFLAGS@ @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ -lc @LDSHFLAGS_Z_DEFS@
+LDSHFLAGS_MODULES=@PIE_LDFLAGS@ @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
LDFLAGS=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
WINBIND_NSS_LDSHFLAGS=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@ -lc @LDSHFLAGS_Z_DEFS@