don't quote $5 when calling pkg-config

otherwise we fail the openssl test 'libcrypto libssl'
This commit is contained in:
Omar Polo 2023-06-23 22:38:10 +00:00
parent 5a34572282
commit 3d0204e7ef
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -204,8 +204,8 @@ runtest() {
if [ -n "$5" -a -n "$pkgconfig" ]; then
if $pkgconfig $5; then
cflags="$($pkgconfig --cflags "$5")"
ldflags="$($pkgconfig --libs "$5")"
cflags="$($pkgconfig --cflags $5)"
ldflags="$($pkgconfig --libs $5)"
echo "retrying with pkg-config" >&3
if singletest "$1" "$2" "$cflags" "$ldflags"; then
CFLAGS="$CFLAGS $cflags"