From: Eric Haszlakiewicz Date: Mon, 30 May 2022 14:31:08 +0000 (+0000) Subject: Add --disable-static and --disable-dynamic options to the cmake-configure script. X-Git-Tag: json-c-0.17-20230812~51 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=86b46cac07202aef68724193a2acc4f86792bd49;p=thirdparty%2Fjson-c.git Add --disable-static and --disable-dynamic options to the cmake-configure script. --- diff --git a/cmake-configure b/cmake-configure index dc695e5a..7110bd0b 100755 --- a/cmake-configure +++ b/cmake-configure @@ -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) ;;