From 66abd44c6d49d7397a1460d2a2a176fc4719c24e Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 8 Sep 2003 06:30:49 +0000 Subject: Set PICFLAG="-fPIC" for gcc under HPUX. (This used to be commit 7f2533207ee46fa968cf1fd31ac0cd89e1fb0bb1) --- source3/configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/configure.in b/source3/configure.in index 7de941cc0c..a2e04b5d48 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1104,6 +1104,8 @@ if test "$enable_shared" = "yes"; then LDSHFLAGS="-B symbolic -b -z" SONAMEFLAG="+h " PICFLAG="+z" + elif test "${GCC}" = "yes"; then + PICFLAG="-fPIC" fi DYNEXP="-Wl,-E" AC_DEFINE(STAT_ST_BLOCKSIZE,8192,[The size of a block]) -- cgit