Skip to content

Commit

Permalink
changed python to python3 in configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel committed Dec 20, 2023
1 parent 534003b commit daba6c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -8983,7 +8983,7 @@ fi
# if PYTHON_BIN is defined, it is expected to be the full path to python
# Otherwise, search from a list of names:
if test -z "$PYTHON_BIN" ; then
for ac_prog in python python3
for ac_prog in python3
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ AC_SUBST(PYTHON_CFLAGS)
# if PYTHON_BIN is defined, it is expected to be the full path to python
# Otherwise, search from a list of names:
if test -z "$PYTHON_BIN" ; then
AC_CHECK_PROGS([PYTHON_BIN],[python python3])
AC_CHECK_PROGS([PYTHON_BIN],[python3])
fi
if test -n "$PYTHON_BIN" ; then
AC_MSG_NOTICE([Python executable is $PYTHON_BIN])
Expand Down
2 changes: 1 addition & 1 deletion plugins/pycv/compileConfiguration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ else
pybind11_cflags="$(${python_bin} -m pybind11 --includes) -fvisibility=hidden"
python_cf_embedded=$(${python_config} --cflags --embed)
python_ld_embedded=$(${python_config} --ldflags --embed)
fi
fi

0 comments on commit daba6c8

Please sign in to comment.