* added support for library (API-)versioning and private system libraries to
build system * declared ICU-libs as private system libraries, which causes them to no longer be available for building software (they no longer are linked from the development lib folder, so the linker won't find them) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35323 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -429,11 +429,17 @@ rule SharedLibrary
|
||||
local sources = [ FGristFiles $(2) ] ;
|
||||
local objects = $(sources:S=$(SUFOBJ)) ;
|
||||
local libs = $(3) ;
|
||||
local apiVersion = $(4) ;
|
||||
|
||||
if ! [ IsPlatformSupportedForTarget $(1) ] {
|
||||
return ;
|
||||
}
|
||||
|
||||
if $(apiVersion) {
|
||||
HAIKU_SONAME on $(lib) = $(lib:BS).$(apiVersion) ;
|
||||
HAIKU_LIB_API_VERSION on $(lib) = $(apiVersion) ;
|
||||
}
|
||||
|
||||
InheritPlatform $(objects) : $(lib) ;
|
||||
Objects $(sources) ;
|
||||
SharedLibraryFromObjects $(lib) : $(objects) : $(libs) ;
|
||||
|
||||
Reference in New Issue
Block a user