X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=00e1f6a53e9d3c3e1b08830adf978b74481dffd5;hb=master;hp=3578f2e145dd404d184313f3be68a05464c5453d;hpb=6616302fb8dbbca4eddc11a756ed4843bd0bf61a;p=collectd.git diff --git a/configure.ac b/configure.ac index 3578f2e1..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 @@ -5399,7 +5399,7 @@ AC_ARG_WITH([libtokyotyrant], with_libtokyotyrant="$withval" else with_libtokyotyrant_cppflags="-I$withval/include" - with_libtokyotyrant_ldflags="-L$withval/include" + with_libtokyotyrant_ldflags="-L$withval/lib" with_libtokyotyrant_libs="-ltokyotyrant" with_libtokyotyrant="yes" fi