Skip to content

Commit

Permalink
Per #2388, if not already set, set MET_PYTHON_BIN_EXE = /opt/local/Li…
Browse files Browse the repository at this point in the history
…brary/Frameworks/Python.framework/Versions/3.10/bin/python3
  • Loading branch information
JohnHalleyGotway committed Jan 12, 2023
1 parent 7081535 commit e251079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/scripts/installation/compile_MET_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
# and USE_MODULES.
#
# If compiling support for Python embedding, users will need to
# set MET_PYTHON, MET_PYTHON_CC, and
# MET_PYTHON_LD.
# set MET_PYTHON, MET_PYTHON_BIN_EXE, MET_PYTHON_CC, and MET_PYTHON_LD.
#
# For a description of these and other variables, visit the MET
# downloads page under "Sample Script For Compiling External
Expand Down Expand Up @@ -821,6 +820,7 @@ if [ $COMPILE_MET -eq 1 ]; then
export MET_GSL=${LIB_DIR}
fi

export MET_PYTHON_BIN_EXE=${MET_PYTHON_BIN_EXE:=${MET_PYTHON}/bin/python3}
export MET_PYTHON_LD=${MET_PYTHON_LD}
export MET_PYTHON_CC=${MET_PYTHON_CC}
export LDFLAGS="-Wl,--disable-new-dtags"
Expand Down

0 comments on commit e251079

Please sign in to comment.