Module: sems Branch: master Commit: 35c0adc36a9e0e2511ed4afe04fedbbffd71adcd URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=35c0adc36a9e0e2511ed4afe04fedbbffd71adcd
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Fri Mar 1 11:27:03 2013 +0100 c/f: fix parameters for clang linker --- core/Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/core/Makefile b/core/Makefile index cc69387..9c81649 100644 --- a/core/Makefile +++ b/core/Makefile @@ -59,7 +59,11 @@ endif # This allows symbols defined in the SIP stack but not used # by the core itself to be included in the executable and # thus be available for modules +ifneq ($(LD), clang) EXTRA_LDFLAGS += -Wl,--whole-archive $(SIP_STACK_DIR)/sip_stack.a -Wl,--no-whole-archive +else +EXTRA_LDFLAGS += -force_load $(SIP_STACK_DIR)/sip_stack.a +endif ifneq ($(OS), freebsd) EXTRA_LDFLAGS += -lresolv _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
