summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 641f2f7..eb11b35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -351,8 +351,8 @@ if test x$enable_resampler != xno; then
CXXFLAGS=""
CPPFLAGS="$ZITA_CPPFLAGS"
CFLAGS=""
- LDFLAGS="$ZITA_LDFLAGS -lzita-resampler -lpthread"
- LIBS=""
+ LDFLAGS="$ZITA_LDFLAGS"
+ LIBS="-lzita-resampler -lpthread"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([#include <zita-resampler/resampler.h>],
[Resampler r] ) ], has_zita=yes, has_zita=no)