openjpeg: Don't remember -lopenjp2 as libs when falling back to openjpeg1
authorSebastian Dröge <sebastian@centricular.com>
Mon, 21 Jul 2014 15:34:52 +0000 (17:34 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 21 Jul 2014 15:34:52 +0000 (17:34 +0200)
configure.ac

index 0eccfb3..88e19c6 100644 (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")