diff options
author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2022-05-30 14:31:08 +0000 |
---|---|---|
committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2022-05-30 14:31:08 +0000 |
commit | 86b46cac07202aef68724193a2acc4f86792bd49 (patch) | |
tree | 2c714b060ac6ba4a7c807e547351e40dec249440 | |
parent | f2fc1ca00a9f35aa67c987f45a4f86ae5ad22e57 (diff) | |
download | json-c-86b46cac07202aef68724193a2acc4f86792bd49.tar.gz |
Add --disable-static and --disable-dynamic options to the cmake-configure script.
-rwxr-xr-x | cmake-configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake-configure b/cmake-configure index dc695e5..7110bd0 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) ;; |