From 3b9651f3fc8f55c2cc10adf0039280dbce3951b1 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 5 Apr 2008 22:04:28 +0000 Subject: [PATCH] Pass "--no-undefined" to the linker when building a shared library for Haiku. Support for undefined symbols is nice in principle, but not really needed for building Haiku itself, and can get little annoying, if one really just forgot to link in a symbol or has a typo in a function name in C code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24814 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/MainBuildRules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/MainBuildRules b/build/jam/MainBuildRules index b5b4f2a7ed..67ebcfb902 100644 --- a/build/jam/MainBuildRules +++ b/build/jam/MainBuildRules @@ -397,7 +397,7 @@ rule SharedLibraryFromObjects MainFromObjects $(_lib) : $(2) ; LINKFLAGS on $(_lib) = [ on $(_lib) return $(LINKFLAGS) ] - -nostart -Xlinker -soname=\"$(_lib:G=)\" ; + -nostart -Xlinker --no-undefined -Xlinker -soname=\"$(_lib:G=)\" ; LinkAgainst $(_lib) : $(3) ; AddSharedObjectGlueCode $(_lib) : false ;