зеркало из https://github.com/mozilla/pjs.git
Fix spellcheck in static builds, and also fix static viewer linkage on OS X. Bug 238309, patch by cls, r=bryner, a=asa.
This commit is contained in:
Родитель
c365d2a2dd
Коммит
1442d81562
|
@ -47,7 +47,9 @@ LIBRARY_NAME = myspell
|
||||||
#EXPORT_LIBRARY = 1
|
#EXPORT_LIBRARY = 1
|
||||||
FORCE_SHARED_LIB = 1
|
FORCE_SHARED_LIB = 1
|
||||||
IS_COMPONENT = 1
|
IS_COMPONENT = 1
|
||||||
MODULE_NAME = mozMySpellModule
|
# Do not set MODULE_NAME as we do not want the entry points
|
||||||
|
# for this module translated in static builds
|
||||||
|
#MODULE_NAME = mozMySpellModule
|
||||||
|
|
||||||
REQUIRES = xpcom \
|
REQUIRES = xpcom \
|
||||||
string \
|
string \
|
||||||
|
|
|
@ -218,7 +218,7 @@ endif # BUILD_STATIC_LIBS
|
||||||
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
LOCAL_INCLUDES += -I$(topsrcdir)/widget/src/mac
|
LOCAL_INCLUDES += -I$(topsrcdir)/widget/src/mac
|
||||||
ifdef BUILD_STATIC_LIBS
|
ifdef BUILD_STATIC_LIBS
|
||||||
EXTRA_LIBS += -framework QuickTime
|
EXTRA_LIBS += -framework QuickTime -framework IOKit
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче