summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-09-25 12:24:51 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-09-25 12:24:51 +0200
commit41920eeeabaa2ac28db974508f70fd684894be61 (patch)
treed4b26a85585b04a8ba74b64fd56b93e545a50588
parentRemove C# AMICallbackBase/AMISentCallback from old AMI mapping (diff)
downloadice-41920eeeabaa2ac28db974508f70fd684894be61.tar.bz2
ice-41920eeeabaa2ac28db974508f70fd684894be61.tar.xz
ice-41920eeeabaa2ac28db974508f70fd684894be61.zip
Fixed compilation problem with Ruby on OS X
-rw-r--r--rb/config/Make.rules.Darwin6
1 files changed, 1 insertions, 5 deletions
diff --git a/rb/config/Make.rules.Darwin b/rb/config/Make.rules.Darwin
index 06771753de3..7675cf2329a 100644
--- a/rb/config/Make.rules.Darwin
+++ b/rb/config/Make.rules.Darwin
@@ -25,11 +25,7 @@ mkrbsoname = $(if $(2),$(1).$(2).bundle,$(1).bundle)
mkrblibname = $(1).bundle
-XCODE_PATH = $(shell xcode-select --print-path)
-SDKS_DIR = $(XCODE_PATH)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
-RUBY_FLAGS = -I$(SDKS_DIR)/System/Library/Frameworks/Ruby.framework/Versions/Current/Headers/
-RUBY_LIBS = -L$(SDKS_DIR)/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib $(RUBY_LIB)
-
+RUBY_FLAGS += -Wno-unknown-pragmas
ifneq ($(embedded_runpath_prefix),)
mkshlib = $(CXX) -dynamic -bundle $(shlibldflags) -o $(1) $(3) $(4)