From 83eb2e9aef40e5e838d2654298e281ad3ec98af3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Fri, 26 Nov 2010 01:32:53 +0100 Subject: [PATCH] =?utf8?q?=D1=953/configue:=20set=20Tru64=20cc's=20PIC=20s?= =?utf8?q?witch=20right=20(none)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit -fPIC made shared library builds fail there Fixes #7821 (cherry picked from commit dbcf73c45782c310cb7ff1f2177d410399e2f06d) --- source3/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/configure.in b/source3/configure.in index 3bd5c2b2d4f..5201302f278 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1631,7 +1631,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]) ;; -- 2.34.1