Now you can define the environment variable NO_LIBRARY_DEPENDENCIES to

avoid all dependencies on libraries (that have been specified with
LinkSharedOSLibs or a rule that uses it).
This means you can now run a
  NO_LIBRARY_DEPENDENCIES=1 jam MyApp
to build MyApp without updating any library MyApp depends on, even if they
have changed. This is a feature for people who know what they are doing to
speed up development.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13483 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-07-06 10:03:42 +00:00
parent 8c2e0879c3
commit 80cb793d80

View File

@ -1120,7 +1120,9 @@ rule LinkSharedOSLibs
}
if $(isfile) {
NEEDLIBS on $(1) = [ on $(1) return $(NEEDLIBS) ] $(i) ;
Depends $(1) : $(i) ;
if ! $(NO_LIBRARY_DEPENDENCIES) {
Depends $(1) : $(i) ;
}
} else {
LINKLIBS on $(1) = [ on $(1) return $(LINKLIBS) ] -l$(i) ;
}