xref: /haiku/build/jam/packages/HaikuSecondaryBootstrap (revision 73254051b196497dfee9ab89eb0c2f60cc305819)
1local architecture = $(TARGET_PACKAGING_ARCH) ;
2
3
4local haikuPackage = haiku_$(architecture).hpkg ;
5HaikuPackage $(haikuPackage) ;
6
7
8# libs
9AddLibrariesToPackage lib $(architecture)
10	: [ HaikuImageGetSystemLibs ] [ HaikuImageGetPrivateSystemLibs ] ;
11
12# libnetwork.so replaces quite a few libraries
13if $(HAIKU_GCC_VERSION_$(architecture)[1]) = 2 {
14	local libNetworkAliases = libsocket.so libbind.so libnet.so ;
15	local lib ;
16	for lib in $(libNetworkAliases) {
17		AddSymlinkToPackage lib $(architecture) : libnetwork.so : $(lib) ;
18	}
19
20	AddSymlinkToPackage lib $(architecture) : libbnetapi.so : libnetapi.so ;
21}
22
23
24BuildHaikuPackage $(haikuPackage) : haiku_secondary ;
25