summaryrefslogtreecommitdiff
path: root/package/libart/patches
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libart/patches
Initial import
Diffstat (limited to 'package/libart/patches')
-rw-r--r--package/libart/patches/100-cross_compile_fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/libart/patches/100-cross_compile_fix.patch b/package/libart/patches/100-cross_compile_fix.patch
new file mode 100644
index 000000000..aae1acccf
--- /dev/null
+++ b/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)