Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-05-17 18:10:45 +0400
committerClément Bœsch <u@pkh.me>2014-05-17 18:13:42 +0400
commit2ca97c7802b6d450eb33ea28864693ba902122f6 (patch)
tree36c73a0c587b5c1c584399415dcf304dc84dcfb3 /configure
parent41120e6e40e34a840d194883a95c57a6e91b1093 (diff)
configure: make sure pkg-config flags are populated in FT test.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 24f90906cf..7700617425 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"