2013-08-06 02:47:51 +04:00
|
|
|
local architecture = $(TARGET_PACKAGING_ARCH) ;
|
|
|
|
|
|
|
|
|
|
|
|
local haikuPackage = haiku_$(architecture).hpkg ;
|
|
|
|
HaikuPackage $(haikuPackage) ;
|
|
|
|
|
2018-04-30 23:29:45 +03:00
|
|
|
AddFilesToPackage $(architecture) : <$(architecture)>runtime_loader ;
|
2013-08-06 02:47:51 +04:00
|
|
|
|
|
|
|
# libs
|
|
|
|
AddLibrariesToPackage lib $(architecture)
|
|
|
|
: [ HaikuImageGetSystemLibs ] [ HaikuImageGetPrivateSystemLibs ] ;
|
|
|
|
|
|
|
|
# libnetwork.so replaces quite a few libraries
|
2020-10-07 06:46:18 +03:00
|
|
|
if $(HAIKU_CC_IS_LEGACY_GCC_$(architecture)) = 1 {
|
2013-08-06 02:47:51 +04:00
|
|
|
local libNetworkAliases = libsocket.so libbind.so libnet.so ;
|
|
|
|
local lib ;
|
|
|
|
for lib in $(libNetworkAliases) {
|
|
|
|
AddSymlinkToPackage lib $(architecture) : libnetwork.so : $(lib) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
AddSymlinkToPackage lib $(architecture) : libbnetapi.so : libnetapi.so ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BuildHaikuPackage $(haikuPackage) : haiku_secondary ;
|