jsonnet: only build required libraries (#10398)

We only need to build the static library in jsonnet so am restricting
the build to do that. This enables Fuzz Introspector

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2023-05-26 16:11:47 +01:00 committed by GitHub
parent 0d87554295
commit 9afbc7068f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ mkdir jsonnet/build
pushd jsonnet/build
cmake -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" \
-DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" -DBUILD_TESTS=OFF ..
make -j$(nproc)
make -j$(nproc) libjsonnet_static
popd
INSTALL_DIR="$SRC/jsonnet"