X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=00e1f6a53e9d3c3e1b08830adf978b74481dffd5;hp=9fc40b17df41ff88fa2d82c10469dfee6845d39f;hb=22e0f18b89055aa200d73997425f5c39d29d04c5;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