Skip to content

Commit 06a6363

Browse files
committed
Manually tell pkg-config the location of brewed OpenSSL
1 parent 47596a7 commit 06a6363

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

script/update_libgit2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ fi
2222
mkdir build
2323
cd build
2424

25+
# OpenSSL is keg-only, so add its pkgconfig location manually
26+
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
27+
2528
cmake -DBUILD_SHARED_LIBS:BOOL=OFF \
2629
-DLIBSSH2_INCLUDE_DIRS:PATH=/usr/local/include/ \
2730
-DBUILD_CLAR:BOOL=OFF \

0 commit comments

Comments
 (0)