1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 15:02:29 +02:00
openwrt-xburst/openwrt/package/libart/patches/100-cross_compile_fix.patch

16 lines
674 B
Diff
Raw Normal View History

diff -urN libart.old/Makefile.in libart.dev/Makefile.in
--- libart.old/Makefile.in 2005-01-21 10:52:11.000000000 +0100
+++ libart.dev/Makefile.in 2005-07-17 19:31:05.000000000 +0200
@@ -440,9 +440,9 @@
@rm -f testuta$(EXEEXT)
$(LINK) $(testuta_LDFLAGS) $(testuta_OBJECTS) $(testuta_LDADD) $(LIBS)
-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_LDFLAGS) $(gen_art_config_OBJECTS) $(gen_art_config_LDADD) $(LIBS)
+ $(HOSTCC) -I. -DLIBART_COMPILATION -DHAVE_CONFIG_H -o $@ gen_art_config.c
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)