|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 ifeq ($(OS_ARCH),WINNT) |
|
6 OS_LIBS += $(call EXPAND_LIBNAME,ole32 shell32 shlwapi) |
|
7 endif |
|
8 |
|
9 ifeq ($(OS_ARCH),WINNT) |
|
10 OS_LIBS += $(call EXPAND_LIBNAME,version) |
|
11 endif |
|
12 |
|
13 EXTRA_DSO_LDOPTS += \ |
|
14 $(XPCOM_GLUE_LDOPTS) \ |
|
15 $(MOZ_COMPONENT_LIBS) \ |
|
16 $(NULL) |
|
17 |
|
18 # Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code) |
|
19 # GTK2: Need to link with glib for GNOME shell service |
|
20 ifneq (,$(filter cocoa gtk2 gtk3,$(MOZ_WIDGET_TOOLKIT))) |
|
21 EXTRA_DSO_LDOPTS += \ |
|
22 $(TK_LIBS) \ |
|
23 $(NULL) |
|
24 endif |
|
25 |
|
26 include $(topsrcdir)/config/rules.mk |
|
27 |
|
28 # Ensure that we don't embed a manifest referencing the CRT. |
|
29 EMBED_MANIFEST_AT = |