diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | ext/extmk.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Jul 11 17:36:39 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/extmk.rb: append ENCOBJS to DLDOBJS but not EXTSOLIBS which is + not a target, to compile enc/encinit.c. + Wed Jul 11 12:38:20 2012 NAKAMURA Usaku <usa@ruby-lang.org> * ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): nonstatic initializer diff --git a/ext/extmk.rb b/ext/extmk.rb index 069465e77f..587bfadce0 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -666,7 +666,7 @@ if $configure_only and $command_output mf.print "#{tgt}:\n\t$(Q)$(MAKE) " mf.print "$(MFLAGS) " if enable_config("shared", $enable_shared) - mf.print %[DLDOBJS="$(EXTOBJS)" EXTSOLIBS="$(ENCOBJS) $(EXTLIBS)" ] + mf.print %[DLDOBJS="$(EXTOBJS) $(ENCOBJS)" EXTSOLIBS="$(EXTLIBS)" ] mf.print 'LIBRUBY_SO_UPDATE=$(LIBRUBY_EXTS) ' else mf.print %[EXTOBJS="$(EXTOBJS) $(ENCOBJS)" EXTLIBS="$(EXTLIBS)" ] |