From: hofnarr Date: Thu, 7 May 2020 23:27:06 +0000 (+0300) Subject: cmake-configure: fix enable-static option X-Git-Tag: json-c-0.15-20200726~58^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F595%2Fhead;p=thirdparty%2Fjson-c.git cmake-configure: fix enable-static option --- diff --git a/cmake-configure b/cmake-configure index 2fcc39e3..c8e44aee 100755 --- a/cmake-configure +++ b/cmake-configure @@ -65,7 +65,7 @@ while [ $# -gt 0 ] ; do FLAGS+=(-DBUILD_SHARED_LIBS=ON) ;; --enable-static) - FLAGS+=(-DBUILD_SHARED_LIBS=OFF) + FLAGS+=(-DBUILD_STATIC_LIBS=ON) ;; --disable-Bsymbolic) FLAGS+=(-DDISABLE_BSYMBOLIC=ON)