summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2019-06-02 07:52:03 +0300
committerGitHub <noreply@github.com>2019-06-02 07:52:03 +0300
commitdf242e764492b602ced499e367ccf339cdb36699 (patch)
tree19bb9d951c61333f5160094004a527cb7a58d229
parent6ec6e475e8afcf7868b0407fc08014aed886ecf1 (diff)
parent0ca27d60990ce7e1f38e487a00026ee55de99c68 (diff)
downloadpsych-df242e764492b602ced499e367ccf339cdb36699.tar.gz
Merge pull request #403 from jeremyevans/deterministic
Make psych.so deterministic
-rw-r--r--ext/psych/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb
index 6d8390e..00f9982 100644
--- a/ext/psych/extconf.rb
+++ b/ext/psych/extconf.rb
@@ -13,7 +13,7 @@ if enable_config("bundled-libyaml", false) || !(find_header('yaml.h') && find_li
$VPATH << "$(srcdir)/yaml"
$INCFLAGS << " -I$(srcdir)/yaml"
- $srcs = Dir.glob("#{$srcdir}/{,yaml/}*.c").map {|n| File.basename(n)}
+ $srcs = Dir.glob("#{$srcdir}/{,yaml/}*.c").map {|n| File.basename(n)}.sort
if have_macro("_WIN32")
$CPPFLAGS << " -DYAML_DECLARE_STATIC -DHAVE_CONFIG_H"