X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=87d1502b23360e9e9691e007ac169ec38ce791e1;hb=master;hp=9fc40b17df41ff88fa2d82c10469dfee6845d39f;hpb=602665007573569bb50993b9a56da68e70daefad;p=collectd.git 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