Project

General

Profile

Actions

Bug #1214

closed

Build issues

Added by hsugawar (hiro sugawara) over 15 years ago. Updated over 13 years ago.

Status:
Rejected
Target version:
-
ruby -v:
1.9.1-p0
Backport:
[ruby-core:22520]

Description

=begin
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=
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0