From b8baf385d164e352f0e1b7f94ff036ad4edabd7e Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 15 Sep 2003 19:58:57 +0000 Subject: [PATCH] Just another fix to LinkSharedOSLibs: Jam's :B selector does, per definition, not include the suffix. That's why the checks for *.a and *.so wouldn't work. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4692 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jamrules b/Jamrules index 3361e14001..a45ea1c560 100644 --- a/Jamrules +++ b/Jamrules @@ -856,11 +856,12 @@ rule LinkSharedOSLibs # XXX: _APP_ and _KERNEL_ should not be needed for ELF. case _APP_ : isfile = true ; case _KERNEL_ : isfile = true ; - case *.so : isfile = true ; - case *.a : isfile = true ; case lib* : isfile = true ; case * : isfile = ; } + if ! $(isfile) && ( $(i:S) = .so || $(i:S) = .a ) { + isfile = true ; + } } if $(isfile) { NEEDLIBS on $(1) = [ on $(1) return $(NEEDLIBS) ] $(i) ;