diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-02 15:04:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-02 15:04:23 +0000 |
commit | 773248551b8cb46f281d5b6bb4f61477ce17d55d (patch) | |
tree | 4d1f2bed6e43a51d30d8e255608e789bcf47bb15 /enc | |
parent | 248aa54c274f72801da04c86f4c6653733e2c1e7 (diff) | |
download | ruby-773248551b8cb46f281d5b6bb4f61477ce17d55d.tar.gz |
mswin: static-linked-ext
* enc/depend (CPPFLAGS), lib/mkmf.rb (MakeMakefile#create_makefile):
define RUBY_EXPORT for static-linked-ext mswin. [Bug #7960]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r-- | enc/depend | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/enc/depend b/enc/depend index 014fc4f584..56bf487a25 100644 --- a/enc/depend +++ b/enc/depend @@ -12,6 +12,7 @@ % transvpath_prefix = (rule_subst.dup.sub!(/\{[^{}]+\}/, '{$(TRANSVPATH)}') || "%s") % "" % CONFIG['ARFLAGS'] = 'rcu ' if (CONFIG['ARFLAGS'] || "").empty? % CONFIG['RANLIB'] = ':' if (CONFIG['RANLIB'] || "").empty? +% CONFIG['CPPFLAGS'] += " -DRUBY_EXPORT=1" if CONFIG["EXTSTATIC"] == "static" % if File::ALT_SEPARATOR % pathrep = proc {|path| path.gsub('/', File::ALT_SEPARATOR).gsub(/\$\(([@<?*]\w?|\w+)\)/, "$(\\1:/=\\#{File::ALT_SEPARATOR})")} % else |