Skip to content

Commit

Permalink
new env variable for final name of macos .dylibs depending on archite…
Browse files Browse the repository at this point in the history
…cture
  • Loading branch information
gubatron committed Jan 6, 2022
1 parent 505ae8e commit fbf253a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions swig/build-macos-arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ check_min_req_vars
export os_arch=arm64
export os_build=macosx
export SHARED_LIB=lib${LIBRARY_NAME}.arm64.dylib
export RELEASE_SHARED_LIB=lib${LIBRARY_NAME}.${os_arch}.dylib
export CXX=g++
export CC=gcc
export run_openssl_configure="./Configure darwin64-${os_arch}-cc ${OPENSSL_NO_OPTS} --prefix=${OPENSSL_ROOT}"
Expand Down
3 changes: 2 additions & 1 deletion swig/build-macos-x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ common_env
check_min_req_vars
export os_arch=x86_64
export os_build=macosx
export SHARED_LIB=lib${LIBRARY_NAME}.x86_64.dylib
export SHARED_LIB=lib${LIBRARY_NAME}.dylib
export RELEASE_SHARED_LIB=lib${LIBRARY_NAME}.${os_arch}.dylib
export CXX=g++
export CC=gcc
export run_openssl_configure="./Configure darwin64-${os_arch}-cc ${OPENSSL_NO_OPTS} --prefix=${OPENSSL_ROOT}"
Expand Down
2 changes: 1 addition & 1 deletion swig/config/macosx-arm64-config.jam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import os ;

using darwin : arm64 : clang++ :
<cxxflags>-std=c++17
<cxxflags>-mmacosx-version-min=11.5
<cxxflags>-mmacosx-version-min=11.3
<cxxflags>-fno-strict-aliasing
<cxxflags>-fvisibility=hidden
<cxxflags>-D_DARWIN_C_SOURCE
Expand Down
2 changes: 1 addition & 1 deletion swig/config/macosx-x86_64-config.jam
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import os ;

using darwin : x86_64 : clang++ :
<cxxflags>-std=c++17
<cxxflags>-mmacosx-version-min=11.5
<cxxflags>-mmacosx-version-min=11.3
<cxxflags>-fno-strict-aliasing
<cxxflags>-fvisibility=hidden
<cxxflags>-D_DARWIN_C_SOURCE
Expand Down

0 comments on commit fbf253a

Please sign in to comment.