[libav-stable] build: Use pkg-config for openjpeg

Pierre Lejeune git at libav.org
Sat Mar 8 19:54:24 CET 2014


Module: libav
Branch: master
Commit: 0e0cefb22216a4b6684a30a50cb5973400dc59f2

Author:    Pierre Lejeune <superheron at gmail.com>
Committer: Tim Walker <tdskywalker at gmail.com>
Date:      Sat Mar  8 12:19:17 2014 +0000

build: Use pkg-config for openjpeg

Bug-Id: 387
CC: libav-stable at libav.org

---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 4d7382a..0ac7328 100755
--- a/configure
+++ b/configure
@@ -3957,7 +3957,7 @@ enabled libmp3lame        && require "libmp3lame >= 3.98.3" lame/lame.h lame_set
 enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb
 enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb
 enabled libopencv         && require_pkg_config opencv opencv/cv.h cvCreateImageHeader
-enabled libopenjpeg       && require libopenjpeg openjpeg.h opj_version -lopenjpeg
+enabled libopenjpeg       && require_pkg_config libopenjpeg openjpeg.h opj_version
 enabled libopus           && require_pkg_config opus opus_multistream.h opus_multistream_decoder_create
 enabled libpulse          && require_pkg_config libpulse-simple pulse/simple.h pa_simple_new
 enabled librtmp           && require_pkg_config librtmp librtmp/rtmp.h RTMP_Socket



More information about the libav-stable mailing list