summaryrefslogtreecommitdiffstats
path: root/zlib/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/configure.ac')
-rw-r--r--zlib/configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/zlib/configure.ac b/zlib/configure.ac
index 80253e4fc5d..fb8d943905e 100644
--- a/zlib/configure.ac
+++ b/zlib/configure.ac
@@ -119,5 +119,11 @@ else
multilib_arg=
fi
+AC_ARG_ENABLE(host-shared,
+[AS_HELP_STRING([--enable-host-shared],
+ [build host code as shared libraries])],
+[PICFLAG=-fPIC], [PICFLAG=])
+AC_SUBST(PICFLAG)
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
OpenPOWER on IntegriCloud