зеркало из https://github.com/mozilla/pjs.git
Bug #180700. Only link with superwin with gtk 1.2. r=cls
This commit is contained in:
Родитель
307a6cc8f1
Коммит
dea01440b1
|
@ -38,6 +38,10 @@ FULL_NSPR_CFLAGS=-I$(includedir)/nspr
|
|||
FULL_NSPR_LIBS=$(subst -L$(libdir),-L$(mozappdir),$(shell $(DEPTH)/nsprpub/config/nspr-config --libs))
|
||||
endif
|
||||
|
||||
ifdef MOZ_ENABLE_GTK
|
||||
SUPERWIN_LIBS=-lgtksuperwin
|
||||
endif
|
||||
|
||||
_DEFS = $(subst \,\\\\\,$(ACDEFINES))
|
||||
|
||||
pkg_config_files=mozilla-nspr.pc mozilla-xpcom.pc mozilla-js.pc \
|
||||
|
@ -64,6 +68,7 @@ mozilla-config:: mozilla-config.in Makefile.in Makefile $(DEPTH)/config/autoconf
|
|||
-e "s|%includedir%|$(includedir)|" \
|
||||
-e "s|%libdir%|$(mozappdir)|" \
|
||||
-e "s|%MOZILLA_VERSION%|$(MOZILLA_VERSION)|" \
|
||||
-e "s|%SUPERWIN_LIBS%|$(SUPERWIN_LIBS)|" \
|
||||
-e "s|%DEFS%|$(_DEFS)|" \
|
||||
-e "s|%FULL_NSPR_LIBS%|$(FULL_NSPR_LIBS)|" \
|
||||
-e "s|%FULL_NSPR_CFLAGS%|$(FULL_NSPR_CFLAGS)|" > $@
|
||||
|
|
|
@ -7,5 +7,5 @@ Name: Mozilla Gtk Embedding Widget
|
|||
Description: Mozilla Embedding Widget for Gtk+
|
||||
Version: %MOZILLA_VERSION%
|
||||
Requires: mozilla-xpcom = %MOZILLA_VERSION%
|
||||
Libs: -L${libdir} -lgtkembedmoz -lgtksuperwin
|
||||
Libs: -L${libdir} -lgtkembedmoz %SUPERWIN_LIBS%
|
||||
Cflags: -I${includedir}/gtkembedmoz
|
||||
|
|
Загрузка…
Ссылка в новой задаче