Skip to content

Commit

Permalink
Per #2948, without this change, there are compilation problems if the…
Browse files Browse the repository at this point in the history
… user wants to compile wihtout python
  • Loading branch information
Julie Prestopnik committed Aug 22, 2024
1 parent 312444e commit 41d7c3a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions internal/scripts/installation/compile_MET_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -874,9 +874,11 @@ if [ -z ${MET_PROJ} ]; then
export MET_PROJ=${LIB_DIR}
fi

export MET_PYTHON_BIN_EXE=${MET_PYTHON_BIN_EXE:=${MET_PYTHON}/bin/python3}
export MET_PYTHON_LD
export MET_PYTHON_CC
if [[ ! -z ${MET_PYTHON_CC} || ! -z ${MET_PYTHON_LD} ]]; then
export MET_PYTHON_BIN_EXE=${MET_PYTHON_BIN_EXE:=${MET_PYTHON}/bin/python3}
export MET_PYTHON_LD
export MET_PYTHON_CC
fi

# add flags to user-defined LDFLAGS for MacOS
if [[ $machine != "Mac" ]]; then
Expand Down

0 comments on commit 41d7c3a

Please sign in to comment.