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.
This commit is contained in:
1 parent
d379cc8b21
commit
784c15f9b9
1 file changed
+4
@@ -8,8 +8,12 @@ BUILD_SHARED=1
|
|||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
if [ "$1" = "--disable-shared" ]; then
|
if [ "$1" = "--disable-shared" ]; then
|
||||||
BUILD_SHARED=
|
BUILD_SHARED=
|
||||||
|
elif [ "$1" = "--enable-shared" ]; then
|
||||||
|
BUILD_SHARED=1
|
||||||
elif [ "$1" = "--disable-static" ]; then
|
elif [ "$1" = "--disable-static" ]; then
|
||||||
BUILD_STATIC=
|
BUILD_STATIC=
|
||||||
|
elif [ "$1" = "--enable-static" ]; then
|
||||||
|
BUILD_STATIC=1
|
||||||
else
|
else
|
||||||
PREFIX="$1"
|
PREFIX="$1"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user