mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: make sure pkg-config flags are populated in FT test.
This commit is contained in:
parent
41120e6e40
commit
2ca97c7802
4
configure
vendored
4
configure
vendored
@ -1199,8 +1199,8 @@ require_libfreetype(){
|
|||||||
pkg="freetype2"
|
pkg="freetype2"
|
||||||
check_cmd $pkg_config --exists --print-errors $pkg \
|
check_cmd $pkg_config --exists --print-errors $pkg \
|
||||||
|| die "ERROR: $pkg not found"
|
|| die "ERROR: $pkg not found"
|
||||||
pkg_cflags=$($pkg_config --cflags $pkg)
|
pkg_cflags=$($pkg_config --cflags $pkg_config_flags $pkg)
|
||||||
pkg_libs=$($pkg_config --libs $pkg)
|
pkg_libs=$($pkg_config --libs $pkg_config_flags $pkg)
|
||||||
{
|
{
|
||||||
echo "#include <ft2build.h>"
|
echo "#include <ft2build.h>"
|
||||||
echo "#include FT_FREETYPE_H"
|
echo "#include FT_FREETYPE_H"
|
||||||
|
Loading…
Reference in New Issue
Block a user