LinkSharedOSLibs now strips the grist <nogrist> off targets. Otherwise one couldn't use target names that don't have a grist (like applications, against which their add-ons need to link).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3961 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5c54c7191a
commit
a8cd071927
7
Jamrules
7
Jamrules
@ -806,13 +806,18 @@ rule LinkSharedOSLibs
|
||||
# "/boot/.../libfoo.so". If the basename starts with "lib" or the thingy
|
||||
# has a dirname or grist, it is added to the NEEDLIBS variable (i.e. the
|
||||
# file will be bound!), otherwise it is prefixed "-l" and added to
|
||||
# LINKLIBS.
|
||||
# LINKLIBS. If you want to specify a target that isn't a library and
|
||||
# also has neither grist nor a dirname, you can prepend "<nogrist>" as
|
||||
# grist; it will be stripped by this rule.
|
||||
|
||||
for i in $(>)
|
||||
{
|
||||
local isfile = ;
|
||||
if $(i:D) || $(i:G) {
|
||||
isfile = true ;
|
||||
if $(i:G) = <nogrist> {
|
||||
i = $(i:G=) ;
|
||||
}
|
||||
} else {
|
||||
switch $(i:B)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user