From 8f8f8d12b9e0efe814aecb24bcf718f099790d1e Mon Sep 17 00:00:00 2001 From: Pierrick Bouvier <101587250+pbo-linaro@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:17:28 +0400 Subject: [win32] nm use full options Fix compilation error when using MSYS2 environment. Credits to MSYS2 Ruby package using this patch. --- win32/mkexports.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/mkexports.rb b/win32/mkexports.rb index 29db1a71e6..a69ba528d4 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -152,7 +152,7 @@ class Exports::Cygwin < Exports end def each_line(objs, &block) - IO.foreach("|#{self.class.nm} --extern --defined #{objs.join(' ')}", &block) + IO.foreach("|#{self.class.nm} --extern-only --defined-only #{objs.join(' ')}", &block) end def each_export(objs) -- cgit v1.2.3