From 784c15f9b96ff8317c6398f3d7a2e2684d1b55e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 2 Oct 2018 08:02:53 +0300 Subject: [PATCH] Allow passing --enable-shared/static to build-libcxx.sh These are the default already, but by allowing them as options, it becomes easier to potentially change the default behaviour. --- build-libcxx.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-libcxx.sh b/build-libcxx.sh index 9206f2b..e9cc586 100755 --- a/build-libcxx.sh +++ b/build-libcxx.sh @@ -8,8 +8,12 @@ BUILD_SHARED=1 while [ $# -gt 0 ]; do if [ "$1" = "--disable-shared" ]; then BUILD_SHARED= + elif [ "$1" = "--enable-shared" ]; then + BUILD_SHARED=1 elif [ "$1" = "--disable-static" ]; then BUILD_STATIC= + elif [ "$1" = "--enable-static" ]; then + BUILD_STATIC=1 else PREFIX="$1" fi