mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-23 10:31:22 +00:00
Add support for MacPorts
This commit is contained in:
parent
7f8a62f686
commit
7c0e99994b
@ -287,6 +287,13 @@ if [ $SKIP_THIRDPARTY != true ]; then
|
||||
export CPPFLAGS="-I/usr/local/include"
|
||||
export LDFLAGS="-L/usr/local/lib"
|
||||
|
||||
# or they could be using MacPorts. Default install
|
||||
# location is /opt/local
|
||||
if [ -d "/opt/local/include" ]; then
|
||||
export CPPFLAGS="$CPPFLAGS -I/opt/local/include"
|
||||
export LDFLAGS="$LDFLAGS -L/opt/local/lib"
|
||||
fi
|
||||
|
||||
export CC=$HOST_C_COMPILER
|
||||
export CXX=$HOST_CXX_COMPILER
|
||||
|
||||
@ -338,6 +345,13 @@ if [ $SKIP_THIRDPARTY != true ]; then
|
||||
export CPPFLAGS="-I/usr/local/include"
|
||||
export LDFLAGS="-L/usr/local/lib"
|
||||
|
||||
# or they could be using MacPorts. Default install
|
||||
# location is /opt/local
|
||||
if [ -d "/opt/local/include" ]; then
|
||||
export CPPFLAGS="$CPPFLAGS -I/opt/local/include"
|
||||
export LDFLAGS="$LDFLAGS -L/opt/local/lib"
|
||||
fi
|
||||
|
||||
export CC=$HOST_C_COMPILER
|
||||
export CXX=$HOST_CXX_COMPILER
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user