summaryrefslogtreecommitdiff
path: root/openwrt/package/libart/patches/100-cross_compile_fix.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-10 21:24:37 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-10 21:24:37 +0000
commitbca56b6a195a5c272d112645b252dab61b2ddcf1 (patch)
tree7c9671b6f4802e662bd201a6d4a101a21235a43f /openwrt/package/libart/patches/100-cross_compile_fix.patch
parente2518e59c04f80fb74f49812daa75a961bd07314 (diff)
Add libart package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1602 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/libart/patches/100-cross_compile_fix.patch')
-rw-r--r--openwrt/package/libart/patches/100-cross_compile_fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/openwrt/package/libart/patches/100-cross_compile_fix.patch b/openwrt/package/libart/patches/100-cross_compile_fix.patch
new file mode 100644
index 0000000000..aae1acccfa
--- /dev/null
+++ b/openwrt/package/libart/patches/100-cross_compile_fix.patch
@@ -0,0 +1,15 @@
+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)