diff --git a/src/build/libroot/Jamfile b/src/build/libroot/Jamfile index 253562faba..fcf5731de2 100644 --- a/src/build/libroot/Jamfile +++ b/src/build/libroot/Jamfile @@ -32,7 +32,7 @@ if $(HOST_PLATFORM) = freebsd { hostPlatformSources = fs_freebsd.cpp ; } -BuildPlatformSharedLibrary libroot_build.so : +local librootSources = atomic.cpp byteorder.cpp errors.cpp @@ -47,10 +47,18 @@ BuildPlatformSharedLibrary libroot_build.so : $(strlSources) strnlen.c +; +BuildPlatformSharedLibrary libroot_build.so : + $(librootSources) : $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) ; +BuildPlatformStaticLibrary libroot_build.a : + : + [ FGristFiles $(librootSources:S=$(SUFOBJ)) ] +; + SEARCH on [ FGristFiles $(strlSources) strnlen.c ] = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ;