haiku/build/jam/packages/HaikuSecondaryBootstrap
Jérôme Duval 1894e9b6a7 Add runtime_loader in secondary bootstrap packages.
add grist to runtime_loader source files.

Change-Id: I09c58b5cc1d57034632df99b4fb3c80e3ff49e3e
2018-05-02 16:46:02 +00:00

26 lines
733 B
Plaintext

local architecture = $(TARGET_PACKAGING_ARCH) ;
local haikuPackage = haiku_$(architecture).hpkg ;
HaikuPackage $(haikuPackage) ;
AddFilesToPackage $(architecture) : <$(architecture)>runtime_loader ;
# libs
AddLibrariesToPackage lib $(architecture)
: [ HaikuImageGetSystemLibs ] [ HaikuImageGetPrivateSystemLibs ] ;
# libnetwork.so replaces quite a few libraries
if $(HAIKU_GCC_VERSION_$(architecture)[1]) = 2 {
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 ;