From: hiro sugawara Date: 2009-02-26T07:21:54+09:00 Subject: [ruby-core:22520] [Bug #1214] Build issues Bug #1214: Build issues http://redmine.ruby-lang.org/issues/show/1214 Author: hiro sugawara Status: Open, Priority: Normal Category: core ruby -v: 1.9.1-p0 I attempted to build "full" (not mini) ruby for Android and found the following patches were necessary. - More backslashes to AL_SEPARATOR in Makefile.in for shell will "escape" backslashes - Demotion of -l$(RUBY_SO_NAME)-static to lib$(RUBY_SO_NAME)-static.a for LIBRUBYARG_STATIC assignment in configure if ruby is to be built as a dynamic executable. hiro ==== ruby-1.9.1-p0/Makefile.in ==== *************** *** 160,166 **** if RUBY_PLATFORM =~ /mswin|bccwin|mingw/; \ class File; \ remove_const :ALT_SEPARATOR; \ ! ALT_SEPARATOR = "\\"; \ end; \ end; \ ' > $@ --- 160,166 ---- if RUBY_PLATFORM =~ /mswin|bccwin|mingw/; \ class File; \ remove_const :ALT_SEPARATOR; \ ! ALT_SEPARATOR = "\\\\"; \ end; \ end; \ ' > $@ ==== /ruby-1.9.1-p0/configure ==== *************** *** 22092,22098 **** FIRSTMAKEFILE="" LIBRUBY_A='lib$(RUBY_SO_NAME)-static.a' LIBRUBY='$(LIBRUBY_A)' ! LIBRUBYARG_STATIC='-l$(RUBY_SO_NAME)-static' LIBRUBYARG='$(LIBRUBYARG_STATIC)' SOLIBS= --- 22092,22099 ---- FIRSTMAKEFILE="" LIBRUBY_A='lib$(RUBY_SO_NAME)-static.a' LIBRUBY='$(LIBRUBY_A)' ! ##LIBRUBYARG_STATIC='-l$(RUBY_SO_NAME)-static' ! LIBRUBYARG_STATIC='lib$(RUBY_SO_NAME)-static.a' LIBRUBYARG='$(LIBRUBYARG_STATIC)' SOLIBS= ---------------------------------------- http://redmine.ruby-lang.org