From 8d79447ad83608be0b57e5a8f64dcc1a40f32ec1 Mon Sep 17 00:00:00 2001 From: Florian Liekweg Date: Wed, 12 Jan 2005 10:46:45 +0000 Subject: [PATCH] Use LDFLAGS and LIBS for libxml2 [r4867] --- Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 095f479e2..34057ab6c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -26,6 +26,10 @@ enable_external_effects := @enable_external_effects@ # do we want to test the firm internal backend stuff? enable_backend := @enable_backend@ +# suck in values for the linking procedure: +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ + build_subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir \ ir/opt ir/tr ir/ana ir/stat ir/ana2 @@ -75,7 +79,7 @@ libfirm.a: $(XOFILES) $(OFILES) # dont know about xml here libfirm.so: subdir_all $(XOFILES) $(OFILES) - ld -Bshareable -o ./libfirm.so $(XOFILES) -lm -L/usr/public/libxml2/lib -lxml2 + ld -Bshareable -o ./libfirm.so $(XOFILES) -lm $(LDFLAGS) $(LIBS) testprograms: libfirm.a $(MAKE) -C testprograms -- 2.20.1