mirror of
https://github.com/Relintai/osxcross.git
synced 2025-03-09 07:46:59 +01:00
Merge pull request #270 from Gcenx/master
tools.sh: Workaround hardcoded paths
This commit is contained in:
commit
fca436a756
@ -50,6 +50,14 @@ if [[ $PLATFORM == CYGWIN* ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $PLATFORM == Darwin ]]; then
|
||||||
|
echo $PATH
|
||||||
|
CFLAGS_OPENSSL="$(pkg-config --cflags openssl)"
|
||||||
|
LDFLAGS_OPENSSL="$(pkg-config --libs-only-L openssl)"
|
||||||
|
export C_INCLUDE_PATH=${CFLAGS_OPENSSL:2}
|
||||||
|
export CPLUS_INCLUDE_PATH=${CFLAGS_OPENSSL:2}
|
||||||
|
export LIBRARY_PATH=${LDFLAGS_OPENSSL:2}
|
||||||
|
fi
|
||||||
|
|
||||||
function require()
|
function require()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user