From dbcf73c45782c310cb7ff1f2177d410399e2f06d Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Fri, 26 Nov 2010 01:32:53 +0100 Subject: ѕ3/configue: set Tru64 cc's PIC switch right (none) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -fPIC made shared library builds fail there --- source3/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit