mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 04:44:32 +01:00
Also detect static fontconfig when pkg-config is not installed
(-lexpat -lfreetype is needed in this case). Tested on MinGW. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20532 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
890334997e
commit
362cdc2285
2
configure
vendored
2
configure
vendored
@ -5426,6 +5426,8 @@ EOF
|
||||
_fontconfig=yes
|
||||
if cc_check -lfontconfig ; then
|
||||
_ld_fontconfig="-lfontconfig"
|
||||
elif cc_check -lfontconfig -lexpat -lfreetype ; then
|
||||
_ld_fontconfig="-lfontconfig -lexpat -lfreetype"
|
||||
elif cc_check `pkg-config --silence-errors --cflags --libs fontconfig` ; then
|
||||
_inc_extra="$_inc_extra `pkg-config --cflags fontconfig`"
|
||||
_ld_fontconfig=`pkg-config --libs fontconfig`
|
||||
|
Loading…
x
Reference in New Issue
Block a user