debug-info: free existing build-id in bin_info_set_build_id
[babeltrace.git] / configure.ac
index 3c2955bf764036e207262f2c5e853cde41769e54..7cbe3ba72220b691074dfd5a2a5d228cc6a1dbd0 100644 (file)
@@ -510,7 +510,10 @@ AM_PATH_PYTHON([3.0], [
 
     AS_IF([test -z "$PYTHON_LDFLAGS"], [
       AC_MSG_CHECKING([Python library flags])
-      PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags`
+      # Python 3.8+ requires that we pass --embed to get the -lpython3.x flag.
+      AS_IF([! PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags --embed`], [
+        PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags`
+      ])
       AC_MSG_RESULT([$PYTHON_LDFLAGS])
     ])
   ])
@@ -783,7 +786,6 @@ AC_CONFIG_FILES([
        src/string-format/Makefile
        tests/bitfield/Makefile
        tests/ctf-writer/Makefile
-       tests/argpar/Makefile
        tests/lib/Makefile
        tests/lib/test-plugin-plugins/Makefile
        tests/Makefile
This page took 0.023593 seconds and 4 git commands to generate.