BuildSetup: Link against -ldl as well as -lm on non-Haiku.
Fixes the build of libpackage_build following Curl dependency removal. Change-Id: Idd08fc1c099ba19c6b46c447686f36ce0b35652a Reviewed-on: https://review.haiku-os.org/605 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
e4ae6cb42f
commit
1a7a96606c
@ -421,7 +421,7 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
||||
HOST_CCFLAGS += $(compatibilityHeader) ;
|
||||
HOST_C++FLAGS += $(compatibilityHeader) ;
|
||||
} else {
|
||||
HOST_LINKFLAGS += -lm ;
|
||||
HOST_LINKFLAGS += -lm -ldl ;
|
||||
HOST_LIBSTDC++ = stdc++ ;
|
||||
if $(HOST_PLATFORM) = cygwin {
|
||||
HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR
|
||||
|
Loading…
Reference in New Issue
Block a user