]> granicus.if.org Git - json-c/commitdiff
cmake-configure: fix enable-static option
authorhofnarr <hofnarr@hofnarr.fi>
Thu, 7 May 2020 23:27:06 +0000 (02:27 +0300)
committerhofnarr <hofnarr@hofnarr.fi>
Thu, 7 May 2020 23:27:06 +0000 (02:27 +0300)
cmake-configure

index 2fcc39e3ca78dc2935764ba934448d9b67d5c518..c8e44aeed4180a79ad0e90ffce9fb5f9002eeac4 100755 (executable)
@@ -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)