diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | ext/extmk.rb | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,7 @@ -Sat May 19 14:57:31 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> +Sat May 19 19:04:38 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/extmk.rb (command_output): ENCOBJS is needed for all linked + ruby, if --disable-shared and --with-static-linked-ext. * ext/extmk.rb (command_output): dmyext is needed as DLDOBJS if no static lined extensions. diff --git a/ext/extmk.rb b/ext/extmk.rb index 7777f9b8f8..81faca8bf6 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -666,7 +666,7 @@ if $configure_only and $command_output mf.print %[DLDOBJS="$(EXTOBJS)" SOLIBS="$(ENCOBJS) $(EXTLIBS)" ] mf.print 'LIBRUBY_SO_UPDATE=$(LIBRUBY_EXTS) ' else - mf.print %[EXTOBJS="$(EXTOBJS)" EXTLIBS="$(EXTLIBS)" ] + mf.print %[EXTOBJS="$(EXTOBJS) $(ENCOBJS)" EXTLIBS="$(EXTLIBS)" ] end mf.puts 'EXTLDFLAGS="$(EXTLDFLAGS)" $@' end |