summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-11-26 01:32:53 +0100
committerBjörn Jacke <bj@sernet.de>2010-11-26 01:52:36 +0100
commitdbcf73c45782c310cb7ff1f2177d410399e2f06d (patch)
treed16385e74dc7daadba4ac863d2517c3085eb9485 /source3
parentfab9d94006351793fddd7f06eef7a05c62f8817c (diff)
downloadsamba-dbcf73c45782c310cb7ff1f2177d410399e2f06d.tar.gz
samba-dbcf73c45782c310cb7ff1f2177d410399e2f06d.tar.bz2
samba-dbcf73c45782c310cb7ff1f2177d410399e2f06d.zip
ѕ3/configue: set Tru64 cc's PIC switch right (none)
-fPIC made shared library builds fail there
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 011bd1afec..17b5470905 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1736,7 +1736,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])
for flags in "-expect_unresolved '*'" "-Wl,-expect_unresolved,'*'" ; do