зеркало из https://github.com/mozilla/gecko-dev.git
Changed makefile to request --cflags and --libs from libIDL-config as well as from glib-config, to handle those cases where libIDL is installed in a different place than glib.
Thanks to Tim Rowley <tor@cs.brown.edu> for this fix.
This commit is contained in:
Родитель
0b57c675a5
Коммит
014116e7af
|
@ -36,13 +36,14 @@ CSRCS = \
|
|||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
# XXX replace with proper configure test for glib
|
||||
CFLAGS += $(shell glib-config --cflags)
|
||||
CFLAGS += $(shell glib-config --cflags) $(shell libIDL-config --cflags)
|
||||
|
||||
# seperate out to get dependancies right
|
||||
LIBXPT=$(DIST)/lib/libxpt.a
|
||||
|
||||
# XXX need configure test
|
||||
EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(shell glib-config --libs)
|
||||
EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(shell glib-config --libs) \
|
||||
$(shell libIDL-config --libs)
|
||||
|
||||
PROGS = $(OBJDIR)/xpidl
|
||||
|
||||
|
|
|
@ -36,13 +36,14 @@ CSRCS = \
|
|||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
# XXX replace with proper configure test for glib
|
||||
CFLAGS += $(shell glib-config --cflags)
|
||||
CFLAGS += $(shell glib-config --cflags) $(shell libIDL-config --cflags)
|
||||
|
||||
# seperate out to get dependancies right
|
||||
LIBXPT=$(DIST)/lib/libxpt.a
|
||||
|
||||
# XXX need configure test
|
||||
EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(shell glib-config --libs)
|
||||
EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(shell glib-config --libs) \
|
||||
$(shell libIDL-config --libs)
|
||||
|
||||
PROGS = $(OBJDIR)/xpidl
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче