Skip to content

Commit 317cc55

Browse files
committed
Tweaks for autobrew
1 parent d36d8a6 commit 317cc55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ elif [ "$PKGCONFIG_CFLAGS" ] || [ "$PKGCONFIG_LIBS" ]; then
3333
elif [[ "$OSTYPE" == "darwin"* ]]; then
3434
if [ $(command -v brew) ]; then
3535
BREWDIR=$(brew --prefix)
36+
PKG_CFLAGS="-I$BREWDIR/include"
37+
PKG_LIBS="-L$BREWDIR/lib -L$BREWDIR/opt/openssl/lib $PKG_LIBS"
3638
else
37-
curl -sfL "https://autobrew.github.io/scripts/$PKG_BREW_NAME" > autobrew
39+
curl -sfL "https://autobrew.github.io/scripts/libssh" > autobrew
3840
source autobrew
3941
fi
40-
PKG_CFLAGS="-I$BREWDIR/opt/libssh/include"
41-
PKG_LIBS="-L$BREWDIR/opt/libssh/lib -L$BREWDIR/opt/openssl/lib $PKG_LIBS"
4242
fi
4343

4444
# For debugging

0 commit comments

Comments
 (0)