We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76734d commit b7ae537Copy full SHA for b7ae537
contrib/install_yices2.sh
@@ -1,6 +1,23 @@
1
#!/bin/bash
2
set -e
3
4
+# Find Homebrew prefix for macOS and set build flags for dependencies
5
+if [[ "$(uname)" == "Darwin" ]]; then
6
+ if [ -d /opt/homebrew ]; then
7
+ BREW_PREFIX=/opt/homebrew
8
+ else
9
+ BREW_PREFIX=/usr/local
10
+ fi
11
+ export CPPFLAGS="-I$BREW_PREFIX/include"
12
+ export LDFLAGS="-L$BREW_PREFIX/lib"
13
+ export PKG_CONFIG_PATH="$BREW_PREFIX/lib/pkgconfig"
14
+ export LD_LIBRARY_PATH="$BREW_PREFIX/lib:$LD_LIBRARY_PATH"
15
+ echo "[INFO] macOS build flags set:"
16
+ echo "CPPFLAGS=$CPPFLAGS"
17
+ echo "LDFLAGS=$LDFLAGS"
18
+ echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
19
+ echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
20
+fi
21
22
# libpoly
23
pushd .
0 commit comments