Commit 1d7c28f8 authored by Karl Wette's avatar Karl Wette

Revert "SWIG: add Python library to linker flags"

- This reverts commit 1e46db89410c6afa9b4b57bf4fab610b7879650c
  at request of Bernd: "it now turns out that this causes trouble
  on other platforms, i.e. OSX".
- Refs #5380, #5293
Original: d7b660deea976d362191d7a66a4ffb793ddd015c
parent bad55a26
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# lalsuite_swig.m4 - SWIG configuration # lalsuite_swig.m4 - SWIG configuration
# Author: Karl Wette, 2011--2017 # Author: Karl Wette, 2011--2017
# #
# serial 96 # serial 97
AC_DEFUN([_LALSUITE_CHECK_SWIG_VERSION],[ AC_DEFUN([_LALSUITE_CHECK_SWIG_VERSION],[
# $0: check the version of $1, and store it in ${swig_version} # $0: check the version of $1, and store it in ${swig_version}
...@@ -493,8 +493,6 @@ sys.stdout.write(' -L' + cfg.get_python_lib()) ...@@ -493,8 +493,6 @@ sys.stdout.write(' -L' + cfg.get_python_lib())
sys.stdout.write(' -L' + cfg.get_python_lib(plat_specific=1)) sys.stdout.write(' -L' + cfg.get_python_lib(plat_specific=1))
sys.stdout.write(' -L' + cfg.get_python_lib(plat_specific=1,standard_lib=1)) sys.stdout.write(' -L' + cfg.get_python_lib(plat_specific=1,standard_lib=1))
sys.stdout.write(' -L' + cfg.get_config_var('LIBDIR')) sys.stdout.write(' -L' + cfg.get_config_var('LIBDIR'))
sys.stdout.write(' -lpython' + cfg.get_config_var('VERSION'))
sys.stdout.write(' ' + cfg.get_config_var('LIBS'))
EOD`] EOD`]
AS_IF([test $? -ne 0],[ AS_IF([test $? -ne 0],[
AC_MSG_ERROR([could not determine Python linker flags]) AC_MSG_ERROR([could not determine Python linker flags])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment