summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 0409e164eb..a595ebb83e 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -39,9 +39,6 @@ fi
AC_LIBREPLACE_LOCATION_CHECKS
-AC_DISABLE_STATIC
-AC_ENABLE_SHARED
-
#################################################
# Directory handling stuff to support both the
# legacy SAMBA directories and FHS compliant
@@ -1785,6 +1782,9 @@ case "$host_os" in
;;
esac
+AC_DISABLE_STATIC
+AC_ENABLE_SHARED
+
# Set defaults
PIE_CFLAGS=""
PIE_LDFLAGS=""