summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-11-26 01:32:53 +0100
committerKarolin Seeger <kseeger@samba.org>2010-12-31 20:03:30 +0100
commitd28ba1d46c226c8c611816393cdf8eba393300f5 (patch)
tree1facb30fc68677d3037f917b069f0f57006a70a6
parent023aa6f4aae29ba22b3d42c815027ba6a66f8ee2 (diff)
downloadsamba-d28ba1d46c226c8c611816393cdf8eba393300f5.tar.gz
ѕ3/configue: set Tru64 cc's PIC switch right (none)
-fPIC made shared library builds fail there Fixes #7821 (cherry picked from commit dbcf73c45782c310cb7ff1f2177d410399e2f06d) (cherry picked from commit 83eb2e9aef40e5e838d2654298e281ad3ec98af3)
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 237d22fa4cf..b34d690bbeb 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1647,7 +1647,9 @@ DSO_EXPORTS=""
BLDSHARED="true"
LDSHFLAGS="-shared"
SONAMEFLAG="-Wl,-soname,"
- PICFLAG="-fPIC"
+ if test "${GCC}" = "yes"; then
+ PICFLAG="-fPIC"
+ fi
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;