summaryrefslogtreecommitdiff
path: root/data/ruby/tools.diff
blob: e2e6723bf18cac08ac734bf96b9093f8aad9a913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -ru ruby-1.8.6-p111/configure.in ruby-1.8.6-p111+iPhone/configure.in
--- ruby-1.8.6-p111/configure.in	2007-09-07 07:38:51.000000000 +0000
+++ ruby-1.8.6-p111+iPhone/configure.in	2008-01-14 07:16:01.000000000 +0000
@@ -1052,7 +1052,7 @@
 	rhapsody*)	: ${LDSHARED='cc -dynamic -bundle -undefined suppress'}
 			: ${LDFLAGS=""}
 			rb_cv_dlopen=yes ;;
-	darwin*)	: ${LDSHARED='cc -dynamic -bundle -undefined suppress -flat_namespace'}
+	darwin*)	: ${LDSHARED='$(CC) -dynamic -bundle -undefined suppress -flat_namespace'}
 			: ${LDFLAGS=""}
 			: ${LIBPATHENV=DYLD_LIBRARY_PATH}
 			rb_cv_dlopen=yes ;;
@@ -1172,15 +1172,15 @@
 
 case "$target_os" in
   linux* | gnu* | k*bsd*-gnu)
-	STRIP='strip -S -x';;
+	STRIP=${STRIP}' -S -x';;
   nextstep*)
-	STRIP='strip -A -n';;
+	STRIP=${STRIP}' -A -n';;
   openstep*)
-	STRIP='strip -A -n';;
+	STRIP=${STRIP}' -A -n';;
   rhapsody*)
-	STRIP='strip -A -n';;
+	STRIP=${STRIP}' -A -n';;
   darwin*)
-	STRIP='strip -A -n';;
+	STRIP=${STRIP}' -A -n';;
 esac
 
 EXTSTATIC=
@@ -1372,7 +1372,7 @@
 	;;
     darwin*)
 	LIBRUBY_SO='lib$(RUBY_SO_NAME).$(MAJOR).$(MINOR).$(TEENY).dylib'
-	LIBRUBY_LDSHARED='cc -dynamiclib -undefined suppress -flat_namespace'
+	LIBRUBY_LDSHARED='$(CC) -dynamiclib -undefined suppress -flat_namespace'
 	LIBRUBY_DLDFLAGS='-install_name $(libdir)/lib$(RUBY_SO_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR)'
 	LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_SO_NAME).dylib'
 	;;