mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: get --enable-shared to work on MacOS X.
* Makefile.in: make $(LIBRUBY_SO) depend on miniruby properly. Now `make -jN' should work without a problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b77916ffd8
commit
6d65fca534
3 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
Thu May 3 03:41:01 2001 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
|
||||
|
||||
* configure.in: get --enable-shared to work on MacOS X.
|
||||
|
||||
* Makefile.in: make $(LIBRUBY_SO) depend on miniruby properly.
|
||||
Now `make -jN' should work without a problem.
|
||||
|
||||
Wed May 2 20:39:35 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* dir.c (rb_glob, rb_iglob): remove unnecessary FNM_PATHNAME.
|
||||
|
|
|
@ -98,7 +98,7 @@ $(LIBRUBY_A): $(OBJS) dmyext.@OBJEXT@
|
|||
@AR@ rcu $@ $(OBJS) dmyext.@OBJEXT@
|
||||
@-@RANLIB@ $@ 2> /dev/null || true
|
||||
|
||||
$(LIBRUBY_SO): $(OBJS) dmyext.@OBJEXT@
|
||||
$(LIBRUBY_SO): $(OBJS) dmyext.@OBJEXT@ miniruby$(EXEEXT)
|
||||
$(LDSHARED) $(DLDFLAGS) $(OBJS) dmyext.@OBJEXT@ $(SOLIBS) -o $@
|
||||
@-@MINIRUBY@ -e 'ARGV.each{|link| File.delete link if File.exist? link; \
|
||||
File.symlink "$(LIBRUBY_SO)", link}' \
|
||||
|
|
|
@ -501,7 +501,7 @@ if test "$with_dln_a_out" != yes; then
|
|||
nextstep*) ;;
|
||||
openstep*) ;;
|
||||
rhapsody*) ;;
|
||||
darwin*) ;;
|
||||
darwin*) CCDLFLAGS=-fno-common;;
|
||||
human*) ;;
|
||||
bsdi*) ;;
|
||||
beos*) ;;
|
||||
|
@ -863,6 +863,12 @@ if test "$enable_shared" = 'yes'; then
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
darwin*)
|
||||
LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).$(MAJOR).$(MINOR).$(TEENY).dylib'
|
||||
LIBRUBY_LDSHARED='cc -dynamiclib -undefined suppress'
|
||||
LIBRUBY_DLDFLAGS='-install_name lib$(RUBY_INSTALL_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR)'
|
||||
LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_INSTALL_NAME).dylib'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue