From 3be224989d9edf7eca1f7a00df25e834dcc43bcc Mon Sep 17 00:00:00 2001 From: nia Date: Sat, 18 May 2019 22:42:25 +0100 Subject: [PATCH] qb.libs.sh: Use CFLAGS in header check. --- qb/qb.libs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qb/qb.libs.sh b/qb/qb.libs.sh index c1c6a07e7d..30902f99b9 100644 --- a/qb/qb.libs.sh +++ b/qb/qb.libs.sh @@ -229,7 +229,7 @@ check_header() printf %s\\n "int main(void) { return 0; }" >> "$TEMP_C" answer='no' printf %s "Checking presence of header file $CHECKHEADER" - eval "set -- $INCLUDE_DIRS" + eval "set -- $CFLAGS $INCLUDE_DIRS" "$CC" -o "$TEMP_EXE" "$TEMP_C" "$@" >>config.log 2>&1 && answer='yes' eval "HAVE_$val=\"$answer\"" printf %s\\n " ... $answer"