summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
1 files changed, 2 insertions, 0 deletions
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])