Fix XPCOM tests linkage error on Darwin (only visible on clobber builds that build tests). r/sr=bryner.

git-svn-id: svn://10.0.0.236/trunk@138058 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sfraser%netscape.com
2003-02-21 00:48:21 +00:00
parent c30bd7cdf0
commit 8caab640a4

View File

@@ -80,6 +80,17 @@ ifeq ($(OS_ARCH)$(OS_RELEASE),FreeBSD2)
LIBS += -lpcap
endif
# Need to link with CoreFoundation on Mac
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
EXTRA_DSO_LDOPTS += \
$(TK_LIBS) \
$(NULL)
LIBS += \
$(TK_LIBS) \
$(NULL)
endif
include $(topsrcdir)/config/rules.mk
libs:: $(TARGETS)