From 0ca27d60990ce7e1f38e487a00026ee55de99c68 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sat, 1 Jun 2019 21:00:27 -0700 Subject: Make psych.so deterministic Fixes Ruby Bug #15890 --- ext/psych/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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" -- cgit v1.2.3