libbe_build has references to math functions so on platforms that has them defined in lib m include it. This allows Haiku to be built with gold as host linker.
This commit is contained in:
parent
76375d6811
commit
3cb6104e08
@ -5,6 +5,11 @@ USES_BE_API on libbe_build.so = true ;
|
||||
# locate the library
|
||||
MakeLocate libbe_build.so : $(HOST_BUILD_COMPATIBILITY_LIB_DIR) ;
|
||||
|
||||
local osLibs ;
|
||||
if ! $(HOST_PLATFORM) in $(HAIKU_BEOS_COMPATIBLE_PLATFORMS) {
|
||||
osLibs = m ;
|
||||
}
|
||||
|
||||
BuildPlatformSharedLibrary libbe_build.so :
|
||||
# no sources here
|
||||
:
|
||||
@ -13,7 +18,7 @@ BuildPlatformSharedLibrary libbe_build.so :
|
||||
<libbe_build>storage_kit.o
|
||||
<libbe_build>support_kit.o
|
||||
|
||||
$(HOST_LIBSUPC++) $(HOST_LIBSTDC++)
|
||||
$(HOST_LIBSUPC++) $(HOST_LIBSTDC++) $(osLibs)
|
||||
;
|
||||
|
||||
SubInclude HAIKU_TOP src build libbe app ;
|
||||
|
Loading…
Reference in New Issue
Block a user