openjpeg: Don't remember -lopenjp2 as libs when falling back to openjpeg1

This commit is contained in:
Sebastian Dröge 2014-07-21 17:34:52 +02:00
parent 27df659fd8
commit 83b672f328

View file

@ -2566,6 +2566,7 @@ AG_GST_CHECK_FEATURE(OPENJPEG, [openjpeg library], openjpeg, [
CFLAGS="$save_CFLAGS"
if test x"$HAVE_OPENJPEG" = x"no"; then
OPENJPEG_LIBS=""
PKG_CHECK_MODULES(OPENJPEG, libopenjpeg1,
HAVE_OPENJPEG="yes",
AG_GST_CHECK_LIBHEADER(OPENJPEG, openjpeg, opj_version, , openjpeg.h, OPENJPEG_LIBS="-lopenjpeg")