100-cross_compile_fix.patch 674 B

123456789101112131415
  1. diff -urN libart.old/Makefile.in libart.dev/Makefile.in
  2. --- libart.old/Makefile.in 2005-01-21 10:52:11.000000000 +0100
  3. +++ libart.dev/Makefile.in 2005-07-17 19:31:05.000000000 +0200
  4. @@ -440,9 +440,9 @@
  5. @rm -f testuta$(EXEEXT)
  6. $(LINK) $(testuta_LDFLAGS) $(testuta_OBJECTS) $(testuta_LDADD) $(LIBS)
  7. -gen_art_config$(EXEEXT): $(gen_art_config_OBJECTS) $(gen_art_config_DEPENDENCIES)
  8. +gen_art_config$(EXEEXT):
  9. @rm -f gen_art_config$(EXEEXT)
  10. - $(LINK) $(gen_art_config_LDFLAGS) $(gen_art_config_OBJECTS) $(gen_art_config_LDADD) $(LIBS)
  11. + $(HOSTCC) -I. -DLIBART_COMPILATION -DHAVE_CONFIG_H -o $@ gen_art_config.c
  12. install-binSCRIPTS: $(bin_SCRIPTS)
  13. @$(NORMAL_INSTALL)