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:
mccabe%netscape.com 1999-04-17 03:54:39 +00:00
Родитель 0b57c675a5
Коммит 014116e7af
2 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -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