From: Jaroslav Kysela Date: Mon, 4 Sep 2023 07:37:29 +0000 (+0200) Subject: gitcompile: Add static build X-Git-Tag: v1.2.11~36 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=9685505bf438467d9b11919b332b066d3a1c94d0;p=alsa-lib.git gitcompile: Add static build Signed-off-by: Jaroslav Kysela --- diff --git a/gitcompile b/gitcompile index 0fe092ce..c70448f7 100755 --- a/gitcompile +++ b/gitcompile @@ -32,6 +32,10 @@ if [ $# -ne 0 ]; then lto="-flto -flto-partition=none" echo "Forced lto build..." shift ;; + static) + static=yes + echo "Selected static build..." + shift ;; *) endloop=yes ;; @@ -75,6 +79,12 @@ if [ "$python2" = "yes" ]; then args="$args --enable-python2" fi +if [ "$static" = "yes" ]; then + #args="$args --enable-shared=no --enable-static=yes" + args="$args --disable-shared" +fi + + touch ltconfig libtoolize --force --copy --automake aclocal $ACLOCAL_FLAGS