bug 329140 make layout/build link to cairo when needed

r=vlad


git-svn-id: svn://10.0.0.236/trunk@192334 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de 2006-03-14 20:46:30 +00:00
parent 322c663b6f
commit 1ef2844582

View File

@ -235,6 +235,14 @@ EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_LIBS) \
endif
endif
ifdef MOZ_ENABLE_CAIRO_GFX
ifndef MOZ_TREE_CAIRO
# In an in-tree cairo build, cairo is part of libthebes
# otherwise, we need to link it separately.
EXTRA_DSO_LDOPTS += $(MOZ_CAIRO_LIBS)
endif
endif
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
EXTRA_DSO_LDOPTS += \
$(TK_LIBS) \