diff --git a/ChangeLog b/ChangeLog index 5d92bb54514bca..0905fc6f31f1a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 11 17:36:39 2012 Nobuyoshi Nakada + + * 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 * ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): nonstatic initializer diff --git a/ext/extmk.rb b/ext/extmk.rb index 069465e77f636a..587bfadce0b78f 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -666,7 +666,7 @@ def mf.macro(name, values, max = 70) 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)" ]