зеркало из https://github.com/mozilla/pjs.git
331827 Provisional build patch to make gtk2/darwin builds functional out of the box. There may be additional changes needed for static builds. r=bsmedberg
This commit is contained in:
Родитель
c83688efe5
Коммит
0f9d7359a9
|
@ -103,8 +103,9 @@ ifdef MOZ_PLACES
|
|||
EXTRA_DSO_LDOPTS += $(DEPTH)/db/morkreader/$(LIB_PREFIX)morkreader_s.$(LIB_SUFFIX)
|
||||
endif
|
||||
|
||||
# Need to link to CoreFoundation for Mac Migrators (PList reading code)
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
# Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code)
|
||||
# GTK2: Need to link with glib for GNOME shell service
|
||||
ifneq (,$(filter mac cocoa gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||
EXTRA_DSO_LDOPTS += \
|
||||
$(TK_LIBS) \
|
||||
$(NULL)
|
||||
|
|
|
@ -146,7 +146,7 @@ endif
|
|||
ifdef MOZ_ENABLE_CAIRO_FT
|
||||
CSRCS += cairo-ft-font.c
|
||||
EXPORTS += cairo-ft.h
|
||||
LOCAL_INCLUDES += $(CAIRO_FT_CFLAGS)
|
||||
OS_INCLUDES += $(CAIRO_FT_CFLAGS)
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ FORCE_USE_PIC = 1
|
|||
FORCE_SHARED_LIB = 1
|
||||
MOZILLA_INTERNAL_API = 1
|
||||
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
# This is going to be a framework named "XUL", not an ordinary library named
|
||||
# "libxul.dylib"
|
||||
LIBRARY_NAME=XUL
|
||||
|
|
|
@ -71,7 +71,7 @@ CPPSRCS += nsLeakDetector.cpp
|
|||
REQUIRES += boehm
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
CPPSRCS += nsMacUtilsImpl.cpp
|
||||
endif
|
||||
|
||||
|
@ -130,7 +130,7 @@ ifdef GC_LEAK_DETECTOR
|
|||
XPIDLSRCS += nsILeakDetector.idl
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||
XPIDLSRCS += nsIMacUtils.idl
|
||||
endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче