mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Merge pull request #911 from heuripedes/master
(qb) Always call the correct pkg-config
This commit is contained in:
commit
dab2dbe8bf
@ -114,8 +114,8 @@ check_pkgconf() #$1 = HAVE_$1 $2 = package $3 = version $4 = critical error mess
|
|||||||
answer='no'
|
answer='no'
|
||||||
$PKG_CONF_PATH --atleast-version="${3:-0.0}" "$2" && {
|
$PKG_CONF_PATH --atleast-version="${3:-0.0}" "$2" && {
|
||||||
answer='yes'
|
answer='yes'
|
||||||
eval $1_CFLAGS=\"$(pkg-config $2 --cflags)\"
|
eval $1_CFLAGS=\"$($PKG_CONF_PATH $2 --cflags)\"
|
||||||
eval $1_LIBS=\"$(pkg-config $2 --libs)\"
|
eval $1_LIBS=\"$($PKG_CONF_PATH $2 --libs)\"
|
||||||
}
|
}
|
||||||
|
|
||||||
eval HAVE_$1="$answer"; echo "$ECHOBUF ... $answer"
|
eval HAVE_$1="$answer"; echo "$ECHOBUF ... $answer"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user