mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-04-27 18:25:06 +00:00
only use python3 in linux
This commit is contained in:
parent
7e2bcb0991
commit
cdba9a3f4a
@ -98,7 +98,12 @@ PKG_CHECK_MODULES(JANSSON, [jansson >= $JANSSON_REQUIRED])
|
||||
AC_SUBST(JANSSON_CFLAGS)
|
||||
AC_SUBST(JANSSON_LIBS)
|
||||
|
||||
AM_PATH_PYTHON([3.5])
|
||||
if test "$bwin32" = "true" -o "$bmac" = "yes"; then
|
||||
AM_PATH_PYTHON([2.7])
|
||||
else
|
||||
AM_PATH_PYTHON([3.5])
|
||||
fi
|
||||
|
||||
if test "$bwin32" = true; then
|
||||
if test x$PYTHON_DIR != x; then
|
||||
# set pyexecdir to somewhere like /c/Python26/Lib/site-packages
|
||||
|
Loading…
Reference in New Issue
Block a user