]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
Add --disable-static and --disable-dynamic options to the cmake-configure script.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Mon, 30 May 2022 14:31:08 +0000 (14:31 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Mon, 30 May 2022 14:31:08 +0000 (14:31 +0000)
cmake-configure

index dc695e5a7db07043be24f7388768da42d6b512fc..7110bd0b6d867c84bef8f182d14e03f34b27c38c 100755 (executable)
@@ -65,9 +65,15 @@ while [ $# -gt 0 ] ; do
        --enable-shared)
                FLAGS+=(-DBUILD_SHARED_LIBS=ON)
                ;;
+       --disable-shared)
+               FLAGS+=(-DBUILD_SHARED_LIBS=OFF)
+               ;;
        --enable-static)
                FLAGS+=(-DBUILD_STATIC_LIBS=ON)
                ;;
+       --disable-static)
+               FLAGS+=(-DBUILD_STATIC_LIBS=OFF)
+               ;;
        --disable-Bsymbolic)
                FLAGS+=(-DDISABLE_BSYMBOLIC=ON)
                ;;