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:
@@ -806,13 +806,18 @@ rule LinkSharedOSLibs
|
|||||||
# "/boot/.../libfoo.so". If the basename starts with "lib" or the thingy
|
# "/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
|
# 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
|
# 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 $(>)
|
for i in $(>)
|
||||||
{
|
{
|
||||||
local isfile = ;
|
local isfile = ;
|
||||||
if $(i:D) || $(i:G) {
|
if $(i:D) || $(i:G) {
|
||||||
isfile = true ;
|
isfile = true ;
|
||||||
|
if $(i:G) = <nogrist> {
|
||||||
|
i = $(i:G=) ;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
switch $(i:B)
|
switch $(i:B)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user