* added support for minor ABI versions to the SharedLibrary rule, as otherwise updating libz.so
could prove to be a major PITA (because of all the dependencies that would need to be rebuilt) * when adding a library to the image, its optional minor abi version is taken care of, too (i. e. a corresponding link is created). * the ABI-related links in /system/lib are now replicated in /boot/develop/lib/<arch> git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35362 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -403,6 +403,18 @@ if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ] && $(TARGET_ARCH) = x86 {
|
||||
for lib in $(SYSTEM_LIBS) $(SYSTEM_LIBS_LIBGL_ALIASES) $(developmentLibs) {
|
||||
AddSymlinkToHaikuHybridImage $(abiDirTokens) lib
|
||||
: /system/lib $(lib:BS) : : true ;
|
||||
local abiMajor = [ on $(lib) return $(HAIKU_LIB_ABI_MAJOR) ] ;
|
||||
local abiMajorLib = $(lib:BS).$(abiMajor) ;
|
||||
if $(abiMajor) {
|
||||
local abiMinor = [ on $(lib) return $(HAIKU_LIB_ABI_MINOR) ] ;
|
||||
if $(abiMinor) {
|
||||
local abiMinorLib = $(abiMinorLib).$(abiMinor) ;
|
||||
AddSymlinkToHaikuHybridImage $(abiDirTokens) lib
|
||||
: /system/lib $(abiMinorLib) : : true ;
|
||||
}
|
||||
AddSymlinkToHaikuHybridImage $(abiDirTokens) lib
|
||||
: /system/lib $(abiMajorLib) : : true ;
|
||||
}
|
||||
}
|
||||
|
||||
# static libraries
|
||||
|
||||
Reference in New Issue
Block a user