|
1 # |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 # EXTRA_DSO_LDOPTS specifies linker flags when building a shared library |
|
7 # from this Makefile. We link against the "dependent glue" and against the |
|
8 # frozen XPCOM shared library. |
|
9 EXTRA_DSO_LDOPTS = \ |
|
10 $(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \ |
|
11 $(XPCOM_FROZEN_LDOPTS) \ |
|
12 $(NSPR_LIBS) \ |
|
13 $(NULL) |
|
14 |
|
15 # Need to link with CoreFoundation on Mac |
|
16 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) |
|
17 EXTRA_DSO_LDOPTS += \ |
|
18 $(TK_LIBS) \ |
|
19 $(NULL) |
|
20 endif |