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:
@@ -856,11 +856,12 @@ rule LinkSharedOSLibs
|
|||||||
# XXX: _APP_ and _KERNEL_ should not be needed for ELF.
|
# XXX: _APP_ and _KERNEL_ should not be needed for ELF.
|
||||||
case _APP_ : isfile = true ;
|
case _APP_ : isfile = true ;
|
||||||
case _KERNEL_ : isfile = true ;
|
case _KERNEL_ : isfile = true ;
|
||||||
case *.so : isfile = true ;
|
|
||||||
case *.a : isfile = true ;
|
|
||||||
case lib* : isfile = true ;
|
case lib* : isfile = true ;
|
||||||
case * : isfile = ;
|
case * : isfile = ;
|
||||||
}
|
}
|
||||||
|
if ! $(isfile) && ( $(i:S) = .so || $(i:S) = .a ) {
|
||||||
|
isfile = true ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if $(isfile) {
|
if $(isfile) {
|
||||||
NEEDLIBS on $(1) = [ on $(1) return $(NEEDLIBS) ] $(i) ;
|
NEEDLIBS on $(1) = [ on $(1) return $(NEEDLIBS) ] $(i) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user