From 595e69d34d59ce0c41149f6254c419c4d2441206 Mon Sep 17 00:00:00 2001 From: orbea Date: Wed, 1 Nov 2017 11:32:41 -0700 Subject: [PATCH] Fix https://github.com/libretro/RetroArch/issues/5636 --- qb/qb.libs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qb/qb.libs.sh b/qb/qb.libs.sh index 6235f4a513..bffcc3cf47 100644 --- a/qb/qb.libs.sh +++ b/qb/qb.libs.sh @@ -15,12 +15,12 @@ add_define_make() add_include_dirs() { while [ "$1" ]; do INCLUDE_DIRS="$INCLUDE_DIRS -I$1"; shift; done - INCLUDE_DIRS="${INCLUDE_DIRS#* }" + INCLUDE_DIRS="${INCLUDE_DIRS# }" } add_library_dirs() { while [ "$1" ]; do LIBRARY_DIRS="$LIBRARY_DIRS -L$1"; shift; done - LIBRARY_DIRS="${LIBRARY_DIRS#* }" + LIBRARY_DIRS="${LIBRARY_DIRS# }" } check_lib() # $1 = language $2 = HAVE_$2 $3 = lib $4 = function in lib $5 = extralibs $6 = headers $7 = critical error message [checked only if non-empty]