[FFmpeg-cvslog] configure: make sure pkg-config flags are populated in FT test.

Clément Bœsch git at videolan.org
Sat May 17 16:22:23 CEST 2014


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat May 17 16:10:45 2014 +0200| [2ca97c7802b6d450eb33ea28864693ba902122f6] | committer: Clément Bœsch

configure: make sure pkg-config flags are populated in FT test.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ca97c7802b6d450eb33ea28864693ba902122f6
---

 configure |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 24f9090..7700617 100755
--- a/configure
+++ b/configure
@@ -1199,8 +1199,8 @@ require_libfreetype(){
     pkg="freetype2"
     check_cmd $pkg_config --exists --print-errors $pkg \
       || die "ERROR: $pkg not found"
-    pkg_cflags=$($pkg_config --cflags $pkg)
-    pkg_libs=$($pkg_config --libs $pkg)
+    pkg_cflags=$($pkg_config --cflags $pkg_config_flags $pkg)
+    pkg_libs=$($pkg_config --libs $pkg_config_flags $pkg)
     {
         echo "#include <ft2build.h>"
         echo "#include FT_FREETYPE_H"



More information about the ffmpeg-cvslog mailing list