diff --git a/extensions/python/dom/src/Makefile.in b/extensions/python/dom/src/Makefile.in index 4cb5ed7c60a5..4d05b260ec9c 100644 --- a/extensions/python/dom/src/Makefile.in +++ b/extensions/python/dom/src/Makefile.in @@ -41,8 +41,8 @@ include $(topsrcdir)/config/config.mk CXXFLAGS += -DPYTHON_SO=\"libpython$(MOZ_PYTHON_VER_DOTTED).so\" -EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) \ - $(XPCOM_GLUE_LDOPTS) \ +EXTRA_DSO_LDOPTS += $(XPCOM_GLUE_LDOPTS) \ + $(MOZ_COMPONENT_LIBS) \ $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/extensions/python/xpcom/src/Makefile.in b/extensions/python/xpcom/src/Makefile.in index ee21549b3a88..4ee901a65726 100644 --- a/extensions/python/xpcom/src/Makefile.in +++ b/extensions/python/xpcom/src/Makefile.in @@ -84,8 +84,8 @@ include $(topsrcdir)/config/config.mk CXXFLAGS += -DPYTHON_SO=\"libpython$(MOZ_PYTHON_VER_DOTTED).so\" -EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) \ - $(XPCOM_GLUE_LDOPTS) \ +EXTRA_DSO_LDOPTS += $(XPCOM_GLUE_LDOPTS) \ + $(MOZ_COMPONENT_LIBS) \ $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/extensions/python/xpcom/src/loader/Makefile.in b/extensions/python/xpcom/src/loader/Makefile.in index 943b3ca9de0c..2d17e6763577 100644 --- a/extensions/python/xpcom/src/loader/Makefile.in +++ b/extensions/python/xpcom/src/loader/Makefile.in @@ -67,8 +67,8 @@ CPPSRCS = \ include $(topsrcdir)/config/config.mk -EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) \ - $(XPCOM_GLUE_LDOPTS) \ +EXTRA_DSO_LDOPTS += $(XPCOM_GLUE_LDOPTS) \ + $(MOZ_COMPONENT_LIBS) \ $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/extensions/python/xpcom/src/module/Makefile.in b/extensions/python/xpcom/src/module/Makefile.in index c561815aec92..984e2ec812fe 100644 --- a/extensions/python/xpcom/src/module/Makefile.in +++ b/extensions/python/xpcom/src/module/Makefile.in @@ -70,13 +70,13 @@ 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) \ - $(XPCOM_GLUE_LDOPTS) \ + EXTRA_DSO_LDOPTS = -bundle $(XPCOM_GLUE_LDOPTS) \ + $(MOZ_COMPONENT_LIBS) \ $(NULL) else - EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) \ - $(XPCOM_GLUE_LDOPTS) \ + EXTRA_DSO_LDOPTS += $(XPCOM_GLUE_LDOPTS) \ + $(MOZ_COMPONENT_LIBS) \ $(NULL) endif IMPORT_LIBRARY := $(SHARED_LIBRARY:.pyd=.lib)