Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix iphone build: rubymac

  • Loading branch information...
commit 76bcb008102363226af7024992b6d8392a9d62cb 1 parent edd1742
genywind genywind authored
7 lib/build/compileRB/compileRB.rb
View
@@ -31,7 +31,9 @@
ext = ".rb"
-startdir = Dir.pwd
+#startdir = Dir.pwd
+
+#puts "dir : #{dir}"
Dir.chdir dir
Find.find(dir) do |path|
@@ -56,4 +58,5 @@
end
end
-Dir.chdir startdir
+#puts "startdir : #{startdir}"
+#Dir.chdir startdir
4 platform/mac/RubyMac/RubyMac.xcodeproj/project.pbxproj
View
@@ -191,6 +191,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
@@ -203,7 +204,6 @@
INSTALL_PATH = /usr/local/bin;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
- "\"$(SRCROOT)/../../iphone/build/Debug\"",
"\"$(SRCROOT)/../../iphone/build/Release\"",
);
OTHER_LDFLAGS = "-lrhorubylib";
@@ -218,12 +218,12 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_MODEL_TUNING = G5;
INSTALL_PATH = /usr/local/bin;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
- "\"$(SRCROOT)/../../iphone/build/Debug\"",
"\"$(SRCROOT)/../../iphone/build/Release\"",
);
OTHER_LDFLAGS = "-lrhorubylib";
1  platform/shared/ruby/iphone/ruby/config.h
View
@@ -265,5 +265,6 @@
#define RUBY_EXPORT 1
#define HAVE_GETADDRINFO 1
#define HAVE_SOCKADDR_STORAGE 1
+#define LOAD_RELATIVE 1
//RHO
BIN  res/build-tools/RubyMac
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.