diff options
author | Björn Jacke <bj@sernet.de> | 2010-05-31 00:26:01 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-05-31 00:37:01 +0200 |
commit | c2327b24a63289449b09fdc343b3b46871d13ee5 (patch) | |
tree | 8c323903b6d856e0486e822479414ec82b51823b /source3/configure.in | |
parent | 55ef0ecea85fda48e980f5f9c6029d7bcee865df (diff) | |
download | samba-c2327b24a63289449b09fdc343b3b46871d13ee5.tar.gz samba-c2327b24a63289449b09fdc343b3b46871d13ee5.tar.xz samba-c2327b24a63289449b09fdc343b3b46871d13ee5.zip |
s3: final test for working shlib support requires PIE_LDFLAGS
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index e4ccc06ce80..74edf283989 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1864,7 +1864,7 @@ AC_CACHE_CHECK([whether building shared libraries actually works], # variables so they need to be eval'ed. if AC_TRY_COMMAND([$CC $CPPFLAGS $CFLAGS $PICFLAG -c -o shlib.o ${srcdir-.}/../tests/shlib.c 1>&AS_MESSAGE_LOG_FD]) then - if AC_TRY_COMMAND([`eval echo "$SHLD"` `eval echo "$LDSHFLAGS"` -o "shlib.$SHLIBEXT" shlib.o 1>&AS_MESSAGE_LOG_FD]) + if AC_TRY_COMMAND([`eval echo "$SHLD $LDSHFLAGS $PIE_LDFLAGS"` -o "shlib.$SHLIBEXT" shlib.o 1>&AS_MESSAGE_LOG_FD]) then ac_cv_shlib_works=yes fi |