Skip to content

Commit

Permalink
Fix pcre not being included in static libgit2 build
Browse files Browse the repository at this point in the history
Fixes godotengine#94

This backports a fix from v2.x which adds the builtin version of pcre as
a static dependency, rather than relying on the OS to provide pcre
  • Loading branch information
twaritwaikar committed Jan 31, 2022
1 parent 95e909b commit 7fd33be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cd godot-git-plugin/thirdparty/libgit2/
mkdir build
cd build/
rm -f CMakeCache.txt
cmake .. -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DBUILD_EXAMPLES=OFF -DUSE_SSH=OFF -DUSE_HTTPS=OFF -DUSE_BUNDLED_ZLIB=ON
cmake .. -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DBUILD_EXAMPLES=OFF -DUSE_SSH=OFF -DUSE_HTTPS=OFF -DUSE_BUNDLED_ZLIB=ON -DREGEX_BACKEND=builtin
cmake --build . --config $1
cd ../../../../
mkdir -p "demo/addons/godot-git-plugin/x11/"
Expand Down

0 comments on commit 7fd33be

Please sign in to comment.