summaryrefslogtreecommitdiff
path: root/package/libart/patches/100-cross_compile_fix.patch
blob: a83e067ad5cedb30e51ef0dc38ae1bef657d5609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -urN libart.old/Makefile.in libart.dev/Makefile.in
--- libart_lgpl-2.3.17.orig/Makefile.in	2005-01-21 10:52:11.000000000 +0100
+++ libart_lgpl-2.3.17/Makefile.in	2011-02-26 22:48:38.000000000 +0100
@@ -440,9 +440,9 @@ testuta$(EXEEXT): $(testuta_OBJECTS) $(t
 	@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)
+	$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I. -DLIBART_COMPILATION -DHAVE_CONFIG_H -o $@ gen_art_config.c
 
 install-binSCRIPTS: $(bin_SCRIPTS)
 	@$(NORMAL_INSTALL)