Get pyxpcom building on osx. Not part of the default build.

git-svn-id: svn://10.0.0.236/trunk@188061 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mhammond%skippinet.com.au
2006-01-23 21:59:18 +00:00
parent a862a15819
commit 6687aadee1
2 changed files with 7 additions and 7 deletions

View File

@@ -86,12 +86,7 @@ CPPSRCS= \
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
ifeq ($(OS_ARCH),Darwin)
# Don't use the EXTRA_DSO_LDOPTS from rules.mk, it breaks the python module
EXTRA_DSO_LDOPTS = -bundle $(MOZ_COMPONENT_LIBS)
else
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
endif
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
clobber::
rm -f *.ilk *.pdb *.exp *.lib *.pyd

View File

@@ -69,7 +69,12 @@ CPPSRCS= \
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
ifeq ($(OS_ARCH),Darwin)
# Don't use the EXTRA_DSO_LDOPTS from rules.mk, it breaks the python module
EXTRA_DSO_LDOPTS = -bundle $(MOZ_COMPONENT_LIBS)
else
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
endif
IMPORT_LIBRARY := $(SHARED_LIBRARY:.pyd=.lib)
# Install into our Python directory