From c0ea2063b7e341348b50fba7ecfe18c19f1ddcc2 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Fri, 4 Nov 2011 19:23:34 +0000 Subject: [PATCH] * undo r43186 * fix build due to changes in DSO Linking the right way as per bonefish. * we may need to check host GCC version here... can't find when this option was introduced * fixes #8031 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43191 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 3 +++ src/tools/unzip/Jamfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index 737bd1397f..b4ec4909ee 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -619,6 +619,9 @@ for level in $(HAIKU_DEBUG_LEVELS[2-]) { # analyze GCC version HOST_GCC_VERSION = [ FAnalyzeGCCVersion HOST_GCC_RAW_VERSION ] ; +# fix for new changes to DSO linking policies +HOST_LINKFLAGS += -Xlinker --no-as-needed ; + # set variables for gcc header options SetIncludePropertiesVariables HOST ; diff --git a/src/tools/unzip/Jamfile b/src/tools/unzip/Jamfile index 79b9db4b4c..6ca3b0a422 100644 --- a/src/tools/unzip/Jamfile +++ b/src/tools/unzip/Jamfile @@ -31,6 +31,6 @@ BuildPlatformMain unzip : unzip.c unreduce.c unshrink.c - : libunzip.a $(HOST_LIBBE) $(HOST_LIBROOT) $(HOST_LIBSUPC++) + : libunzip.a $(HOST_LIBBE) $(HOST_LIBSUPC++) ;