mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Including bundle1.o breaks Tiger and Leopard
(issue #16449) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
7
Makefile
7
Makefile
@@ -305,8 +305,11 @@ MOD_SUBDIRS_MENUSELECT_TREE:=$(MOD_SUBDIRS:%=%-menuselect-tree)
|
|||||||
|
|
||||||
ifneq ($(findstring darwin,$(OSARCH)),)
|
ifneq ($(findstring darwin,$(OSARCH)),)
|
||||||
_ASTCFLAGS+=-D__Darwin__
|
_ASTCFLAGS+=-D__Darwin__
|
||||||
SOLINK=-bundle -Xlinker -macosx_version_min -Xlinker 10.4 -Xlinker -undefined -Xlinker dynamic_lookup -force_flat_namespace /usr/lib/bundle1.o
|
SOLINK=-bundle -Xlinker -macosx_version_min -Xlinker 10.4 -Xlinker -undefined -Xlinker dynamic_lookup -force_flat_namespace
|
||||||
_ASTLDFLAGS+= -L/usr/local/lib
|
ifeq ($(shell /usr/bin/sw_vers -productVersion | cut -c1-4),10.6)
|
||||||
|
SOLINK+=/usr/lib/bundle1.o
|
||||||
|
endif
|
||||||
|
_ASTLDFLAGS+=-L/usr/local/lib
|
||||||
else
|
else
|
||||||
# These are used for all but Darwin
|
# These are used for all but Darwin
|
||||||
SOLINK=-shared
|
SOLINK=-shared
|
||||||
|
Reference in New Issue
Block a user