mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
Merge pull request #44 from MaddTheSane/macPortsSupport
Add support for MacPorts
This commit is contained in:
commit
88d7614612
@ -287,6 +287,13 @@ if [ $SKIP_THIRDPARTY != true ]; then
|
|||||||
export CPPFLAGS="-I/usr/local/include"
|
export CPPFLAGS="-I/usr/local/include"
|
||||||
export LDFLAGS="-L/usr/local/lib"
|
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 CC=$HOST_C_COMPILER
|
||||||
export CXX=$HOST_CXX_COMPILER
|
export CXX=$HOST_CXX_COMPILER
|
||||||
|
|
||||||
@ -338,6 +345,13 @@ if [ $SKIP_THIRDPARTY != true ]; then
|
|||||||
export CPPFLAGS="-I/usr/local/include"
|
export CPPFLAGS="-I/usr/local/include"
|
||||||
export LDFLAGS="-L/usr/local/lib"
|
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 CC=$HOST_C_COMPILER
|
||||||
export CXX=$HOST_CXX_COMPILER
|
export CXX=$HOST_CXX_COMPILER
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user