Commit e8b530dd authored by Stefan Westerfeld's avatar Stefan Westerfeld

BUILD: set rpath for zita library properly by using AC_LIB_HAVE_LINKFLAGS

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 79488f4b
......@@ -32,11 +32,10 @@ dnl zita resampler
dnl
AC_DEFUN([AC_ZITA_REQUIREMENTS],
[
AC_CHECK_LIB(zita-resampler, _Z28zita_resampler_major_versionv,[],
[
AC_LIB_HAVE_LINKFLAGS([zita-resampler])
if test "x$HAVE_LIBZITA_RESAMPLER" = "xno"; then
AC_MSG_ERROR([You need to install libzita-resampler to build this package.])
]
)
fi
])
dnl ffmpeg stuff
......
......@@ -8,7 +8,7 @@ COMMON_SRC = utils.hh utils.cc convcode.hh convcode.cc random.hh random.cc wavda
limiter.cc limiter.hh shortcode.cc shortcode.hh mpegts.cc mpegts.hh hls.cc hls.hh audiobuffer.hh \
wmget.cc wmadd.cc syncfinder.cc syncfinder.hh wmspeed.cc wmspeed.hh threadpool.cc threadpool.hh \
resample.cc resample.hh
COMMON_LIBS = $(SNDFILE_LIBS) $(FFTW_LIBS) $(LIBGCRYPT_LIBS) $(LIBMPG123_LIBS) $(FFMPEG_LIBS)
COMMON_LIBS = $(SNDFILE_LIBS) $(FFTW_LIBS) $(LIBGCRYPT_LIBS) $(LIBMPG123_LIBS) $(FFMPEG_LIBS) $(LTLIBZITA_RESAMPLER)
AM_CXXFLAGS = $(SNDFILE_CFLAGS) $(FFTW_CFLAGS) $(LIBGCRYPT_CFLAGS) $(LIBMPG123_CFLAGS) $(FFMPEG_CFLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment