X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=configure.ac;h=cadbb24935fc8256ac60af215fb844cd75ab1007;hp=9fc40b17df41ff88fa2d82c10469dfee6845d39f;hb=HEAD;hpb=d96e10d68027716fb9d7f36a92db26f61145c493 diff --git a/configure.ac b/configure.ac index 9fc40b17..00e1f6a5 100644 --- a/configure.ac +++ b/configure.ac @@ -4711,7 +4711,7 @@ if test "$PYTHON_CONFIG" != ""; then if test $? -ne 0; then with_libpython="no" fi - LIBPYTHON_LDFLAGS="`${PYTHON_CONFIG} --ldflags`" + LIBPYTHON_LDFLAGS="`${PYTHON_CONFIG} --ldflags --embed`" || LIBPYTHON_LDFLAGS="`${PYTHON_CONFIG} --ldflags`" if test $? -ne 0; then with_libpython="no" fi