1 | | --- configure.in.orig 2008-06-15 19:28:47.000000000 +0900 |
2 | | +++ configure.in 2008-06-21 18:18:50.000000000 +0900 |
3 | | @@ -1731,6 +1731,7 @@ |
| 1 | --- configure.in.orig 2009-03-29 23:59:20.000000000 -0400 |
| 2 | +++ configure.in 2009-03-30 00:00:15.000000000 -0400 |
| 3 | @@ -1212,7 +1212,7 @@ |
| 4 | rhapsody*) : ${LDSHARED='cc -dynamic -bundle -undefined suppress'} |
| 5 | : ${LDFLAGS=""} |
| 6 | rb_cv_dlopen=yes ;; |
| 7 | - darwin*) : ${LDSHARED='cc -dynamic -bundle -undefined suppress -flat_namespace'} |
| 8 | + darwin*) : ${LDSHARED='$(CC) -dynamic -bundle -undefined suppress -flat_namespace'} |
| 9 | : ${LDFLAGS=""} |
| 10 | : ${LIBPATHENV=DYLD_LIBRARY_PATH} |
| 11 | rb_cv_dlopen=yes ;; |
| 12 | @@ -1525,7 +1525,7 @@ |
| 13 | ;; |
| 14 | darwin*) |
| 15 | LIBRUBY_SO='lib$(RUBY_SO_NAME).$(MAJOR).$(MINOR).$(TEENY).dylib' |
| 16 | - LIBRUBY_LDSHARED='cc -dynamiclib -undefined suppress -flat_namespace' |
| 17 | + LIBRUBY_LDSHARED='$(CC) -dynamiclib -undefined suppress -flat_namespace' |
| 18 | LIBRUBY_DLDFLAGS='-install_name $(libdir)/lib$(RUBY_SO_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR)' |
| 19 | LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_SO_NAME).dylib' |
| 20 | ;; |
| 21 | @@ -1752,6 +1752,7 @@ |