packages/libs/libart/patches/100-cross_compile_fix.patch
florian 6c35819b6c Upgrade libart to 2.3.19, fixes rrdtool compilation #2906
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-29 01:02:05 +00:00

16 lines
738 B
Diff

diff -urN libart_lgpl-2.3.19/Makefile.in libart_lgpl-2.3.19.new/Makefile.in
--- libart_lgpl-2.3.19/Makefile.in 2007-02-28 14:00:24.000000000 +0100
+++ libart_lgpl-2.3.19.new/Makefile.in 2007-12-29 02:01:55.000000000 +0100
@@ -474,9 +474,9 @@
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
-gen_art_config$(EXEEXT): $(gen_art_config_OBJECTS) $(gen_art_config_DEPENDENCIES)
+gen_art_config$(EXEEXT):
@rm -f gen_art_config$(EXEEXT)
- $(LINK) $(gen_art_config_OBJECTS) $(gen_art_config_LDADD) $(LIBS)
+ $(HOSTCC) -I. -DLIBART_COMPILATION -DHAVE_CONFIG_H -o $@ gen_art_config.c
testart$(EXEEXT): $(testart_OBJECTS) $(testart_DEPENDENCIES)
@rm -f testart$(EXEEXT)
$(testart_LINK) $(testart_OBJECTS) $(testart_LDADD) $(LIBS)