* 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:
Oliver Tappe
2010-01-27 23:13:49 +00:00
parent d18eaf4c53
commit 291785f88f
3 changed files with 34 additions and 2 deletions
+6
View File
@@ -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) ;