--- libpeas-1.20.0/configure.ac.orig +++ libpeas-1.20.0/configure.ac @@ -442,7 +442,7 @@ found_python3=yes PYTHON3_BIN="$PYTHON" PYTHON3_CFLAGS=`${PYTHON3_CONFIG} --includes` - PYTHON3_LIBS=`${PYTHON3_CONFIG} --libs` + PYTHON3_LIBS=`${PYTHON3_CONFIG} --embed --libs` PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags` AC_SUBST(PYTHON3_BIN) AC_SUBST(PYTHON3_CFLAGS)