michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: ifeq ($(OS_ARCH),WINNT) michael@0: OS_LIBS += $(call EXPAND_LIBNAME,ole32 shell32 shlwapi) michael@0: endif michael@0: michael@0: ifeq ($(OS_ARCH),WINNT) michael@0: OS_LIBS += $(call EXPAND_LIBNAME,version) michael@0: endif michael@0: michael@0: EXTRA_DSO_LDOPTS += \ michael@0: $(XPCOM_GLUE_LDOPTS) \ michael@0: $(MOZ_COMPONENT_LIBS) \ michael@0: $(NULL) michael@0: michael@0: # Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code) michael@0: # GTK2: Need to link with glib for GNOME shell service michael@0: ifneq (,$(filter cocoa gtk2 gtk3,$(MOZ_WIDGET_TOOLKIT))) michael@0: EXTRA_DSO_LDOPTS += \ michael@0: $(TK_LIBS) \ michael@0: $(NULL) michael@0: endif michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: # Ensure that we don't embed a manifest referencing the CRT. michael@0: EMBED_MANIFEST_AT =