From 1a7a96606c6e8dbe97e7c8b042e20edfaa2f9a99 Mon Sep 17 00:00:00 2001 From: waddlesplash Date: Sat, 29 Sep 2018 23:23:42 -0400 Subject: [PATCH] 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 --- build/jam/BuildSetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index fb04daf770..dea2f61158 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -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