mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
- Unbreak the build, if the PYTHON option is selected (caused by the
lang/python27 update in r363790) Reported by: robak@ With hat: python@
This commit is contained in:
parent
924a4b9f72
commit
10f62ee1cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364305
@ -39,15 +39,6 @@
|
||||
fi
|
||||
|
||||
CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
@@ -3454,7 +3451,7 @@
|
||||
if test "x$with_python" = "xyes"
|
||||
then
|
||||
AC_MSG_CHECKING([for Python LIBS])
|
||||
- python_library_flags=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_config_vars(\"BLDLIBRARY\").__getitem__(0))" | "$with_python_prog" 2>&1`
|
||||
+ python_library_flags=`echo "import distutils.sysconfig;import sys;sys.stdout.write(distutils.sysconfig.get_config_var(\"LINKFORSHARED\")+\" -L\"+distutils.sysconfig.get_config_vars(\"LIBDIR\").__getitem__(0)+\" -l\"+distutils.sysconfig.get_config_vars(\"BLDLIBRARY\").__getitem__(0).replace(\"lib\", \"\").replace(\".a\", \"\"))" | "$with_python_prog" 2>&1`
|
||||
python_config_status=$?
|
||||
|
||||
if test "$python_config_status" -ne 0 || test "x$python_library_flags" = "x"
|
||||
@@ -3469,7 +3466,7 @@
|
||||
if test "x$with_python" = "xyes"
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user