michael@0: # 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: # EXTRA_DSO_LDOPTS specifies linker flags when building a shared library michael@0: # from this Makefile. We link against the "dependent glue" and against the michael@0: # frozen XPCOM shared library. michael@0: EXTRA_DSO_LDOPTS = \ michael@0: $(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \ michael@0: $(XPCOM_FROZEN_LDOPTS) \ michael@0: $(NSPR_LIBS) \ michael@0: $(NULL) michael@0: michael@0: # Need to link with CoreFoundation on Mac michael@0: ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) michael@0: EXTRA_DSO_LDOPTS += \ michael@0: $(TK_LIBS) \ michael@0: $(NULL) michael@0: endif