From c03d46e367aeef7e982743fff81f5c8726ea7fd3 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 24 Oct 2010 14:56:33 +0200 Subject: [PATCH] don't match libs which have @loader_path in the middle --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 2396c1a49..0a900ab9a 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -917,7 +917,7 @@ install_qa_check_macho() { # this is ugly, paths with spaces won't work reevaluate=0 for lib in ${needed//,/ } ; do - if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != "@executable_path/"* && *${lib} != "@loader_path/"* ]] ; then + if [[ ! -e ${lib} && ! -e ${D}${lib} && ${lib} != "@executable_path/"* && ${lib} != "@loader_path/"* ]] ; then # try to "repair" this if possible, happens because of # gen_usr_ldscript tactics s=${lib%usr/*}${lib##*/usr/} -- 2.26.2