summaryrefslogtreecommitdiffstats
path: root/src/util/kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/kbuild')
-rw-r--r--src/util/kbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/kbuild b/src/util/kbuild
index d3c51db72..7596f6170 100644
--- a/src/util/kbuild
+++ b/src/util/kbuild
@@ -101,6 +101,11 @@ then
CONFIG_OPTS="$CONFIG_OPTS --with-krb4=${KRB4}"
fi
+if test "x${SHARED}" != "x"
+then
+ CONFIG_OPTS="$CONFIG_OPTS --enable-shared"
+fi
+
/bin/rm -rf $BUILD_PATH
mkdir $BUILD_PATH
cd $BUILD_PATH