Upgrade libart to 2.3.19, fixes rrdtool compilation #2906
[openwrt/svn-archive/archive.git] / libs / libart / patches / 100-cross_compile_fix.patch
1 diff -urN libart_lgpl-2.3.19/Makefile.in libart_lgpl-2.3.19.new/Makefile.in
2 --- libart_lgpl-2.3.19/Makefile.in 2007-02-28 14:00:24.000000000 +0100
3 +++ libart_lgpl-2.3.19.new/Makefile.in 2007-12-29 02:01:55.000000000 +0100
4 @@ -474,9 +474,9 @@
5 echo " rm -f $$p $$f"; \
6 rm -f $$p $$f ; \
7 done
8 -gen_art_config$(EXEEXT): $(gen_art_config_OBJECTS) $(gen_art_config_DEPENDENCIES)
9 +gen_art_config$(EXEEXT):
10 @rm -f gen_art_config$(EXEEXT)
11 - $(LINK) $(gen_art_config_OBJECTS) $(gen_art_config_LDADD) $(LIBS)
12 + $(HOSTCC) -I. -DLIBART_COMPILATION -DHAVE_CONFIG_H -o $@ gen_art_config.c
13 testart$(EXEEXT): $(testart_OBJECTS) $(testart_DEPENDENCIES)
14 @rm -f testart$(EXEEXT)
15 $(testart_LINK) $(testart_OBJECTS) $(testart_LDADD) $(LIBS)