diff --git a/ctl b/ctl index 2bd19a9..17eb02a 100755 --- a/ctl +++ b/ctl @@ -28,9 +28,6 @@ else export PLATFORM_ENV="$BASE/platform/$SYSTEM" fi fi -if [ $SYSTEM == "Darwin" ]; then - export DYLD_FALLBACK_LIBRARY_PATH="$PLATFORM_ENV/lib" -fi PATH="$PLATFORM_ENV/bin:$PATH" SHARED_ENV="$BASE/platform/Shared" @@ -39,6 +36,12 @@ export SHARED_ENV PATH="$SHARED_ENV/bin:$PATH" export PATH +if [ $SYSTEM == "Darwin" ]; then + export DYLD_FALLBACK_LIBRARY_PATH="$PLATFORM_ENV/lib" + export SSL_CERT_FILE="$SHARED_ENV/etc/openssl/cert.pem" + export SSL_CERT_DIR="$SHARED_ENV/etc/openssl/certs" +fi + PYTHONPATH="$PLATFORM_ENV/lib/python3.4/site-packages:$SHARED_ENV/lib/python3.4/site-packages:$BASE/$NAME" export PYTHONPATH