Skip to content

Commit

Permalink
codeql: Build cjson as a shared lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Dec 30, 2020
1 parent 3ced609 commit 491600e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- run: mkdir -p /tmp/build/cjson
- run: tar --strip=1 -xf /tmp/cjson.tar.gz -C /tmp/build/cjson
- run: rm /tmp/cjson.tar.gz
- run: cd /tmp/build/cjson && cmake . -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_AND_STATIC_LIBS=OFF -DBUILD_SHARED_LIBS=OFF -DCJSON_BUILD_SHARED_LIBS=OFF -DCJSON_OVERRIDE_BUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/usr
- run: cd /tmp/build/cjson && cmake . -DCMAKE_BUILD_TYPE=MinSizeRel -DCJSON_BUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr
- run: sudo make -C /tmp/build/cjson install

# Now build Mosquitto
Expand Down

0 comments on commit 491600e

Please sign in to comment.