зеркало из https://github.com/mozilla/pjs.git
Link readers against libxul when trace-malloc is part of libxul (fixing tinderbox bustage).
This commit is contained in:
Родитель
e7f74901a5
Коммит
6617480bfb
|
@ -80,7 +80,13 @@ endif
|
|||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
ifdef MOZ_ENABLE_LIBXUL
|
||||
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
EXTRA_DSO_LIBS = xul
|
||||
endif
|
||||
else
|
||||
EXTRA_DSO_LIBS = tracemalloc
|
||||
endif
|
||||
|
||||
LIBS += \
|
||||
$(LIBS_DIR) \
|
||||
|
@ -91,6 +97,12 @@ LIBS += \
|
|||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
ifdef MOZ_ENABLE_LIBXUL
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
LIBS += $(DIST)/bin/XUL
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef HAVE_BOUTELL_GD
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
LOCAL_INCLUDES += \
|
||||
|
|
Загрузка…
Ссылка в новой задаче