mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Use PKG_CONF_PATH in qb/.
This commit is contained in:
parent
ce412a7c8b
commit
247059ad4d
@ -112,7 +112,7 @@ check_pkgconf() #$1 = HAVE_$1 $2 = package $3 = version $4 = critical error mess
|
|||||||
[ "$3" ] && ECHOBUF="$ECHOBUF with minimum version $3"
|
[ "$3" ] && ECHOBUF="$ECHOBUF with minimum version $3"
|
||||||
# echo -n "$ECHOBUF ... "
|
# echo -n "$ECHOBUF ... "
|
||||||
answer='no'
|
answer='no'
|
||||||
pkg-config --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-config $2 --cflags)\"
|
||||||
eval $1_LIBS=\"$(pkg-config $2 --libs)\"
|
eval $1_LIBS=\"$(pkg-config $2 --libs)\"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user