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
This commit is contained in:
Ingo Weinhold 2003-09-15 19:58:57 +00:00
parent 87bcd8f415
commit b8baf385d1

View File

@ -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) ;