mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-03 08:38:18 +00:00
qb: Don't use variables in the printf format string.
This commit is contained in:
parent
f3aceefe84
commit
f50d755b45
@ -26,7 +26,7 @@ check_lib() #$1 = HAVE_$1 $2 = lib $3 = function in lib $4 = extralibs $5 = head
|
||||
if [ "$3" ]; then
|
||||
ECHOBUF="Checking function $3 in ${2% }"
|
||||
if [ "$5" ]; then
|
||||
printf "$5\nint main(void) { void *p = (void*)$3; return 0; }" > $TEMP_C
|
||||
printf %s\\n "$5" "int main(void) { void *p = (void*)$3; return 0; }" > $TEMP_C
|
||||
else
|
||||
echo "void $3(void); int main(void) { $3(); return 0; }" > $TEMP_C
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user