Remove libbe_build linking m from earlier commit and add -lm to HOST_LINK_FLAGS on non BeOS compatible platforms.
(HOST_LIBROOT would need more work than just adding m so I went the easy route.)
This commit is contained in:
parent
44c3f5c188
commit
34b63b5b9d
@ -772,6 +772,7 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
||||
# compatibility library
|
||||
HOST_HAIKU_COMPATIBILITY_LIBS = libhaikucompat.a ;
|
||||
} else {
|
||||
HOST_LINKFLAGS += -lm ;
|
||||
HOST_LIBSTDC++ = stdc++ ;
|
||||
HOST_LIBROOT = libroot_build_function_remapper.a libroot_build.so ;
|
||||
HOST_STATIC_LIBROOT = libroot_build_function_remapper.a libroot_build.a ;
|
||||
|
@ -5,11 +5,6 @@ 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
|
||||
:
|
||||
@ -18,7 +13,7 @@ BuildPlatformSharedLibrary libbe_build.so :
|
||||
<libbe_build>storage_kit.o
|
||||
<libbe_build>support_kit.o
|
||||
|
||||
$(HOST_LIBSUPC++) $(HOST_LIBSTDC++) $(osLibs)
|
||||
$(HOST_LIBSUPC++) $(HOST_LIBSTDC++)
|
||||
;
|
||||
|
||||
SubInclude HAIKU_TOP src build libbe app ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user