From 0de2b044f65d8bb9bc9926773dc53680d84084ac Mon Sep 17 00:00:00 2001 From: Simson Garfinkel Date: Fri, 26 Apr 2024 19:55:43 -0400 Subject: [PATCH] added stuff to MACOS to add support for /opt/local and /opt/homebrew for building. --- etc/CONFIGURE_MACOS.bash | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etc/CONFIGURE_MACOS.bash b/etc/CONFIGURE_MACOS.bash index 8ded7b90..c00743ca 100755 --- a/etc/CONFIGURE_MACOS.bash +++ b/etc/CONFIGURE_MACOS.bash @@ -33,10 +33,9 @@ echo ================ echo Updating .profile echo 'PATH="/opt/homebrew/opt/libtool/libexec/gnubin:$PATH"' >> .bash_profile echo 'export PATH="/opt/homebrew/opt/libxml2/bin:$PATH"' >> .bash_profile -echo 'export LDFLAGS="-L/opt/homebrew/opt/libxml2/lib $LDFLAGS" ' >> .bash_profile -echo 'export CPPFLAGS="-I/opt/homebrew/opt/libxml2/include $CPPFLAGS" ' >> .bash_profile +echo 'export LDFLAGS="-L/opt/homebrew/lib -L/opt/homebrew/opt/libxml2/lib $LDFLAGS" ' >> .bash_profile +echo 'export CPPFLAGS="-I/opt/homebrew/include -I/opt/homebrew/opt/libxml2/include $CPPFLAGS" ' >> .bash_profile echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/libxml2/lib/pkgconfig:$PKG_CONFIG_PATH"' >> .bash_profile - echo ================ source .bash_profile printenv