diff options
| author | Pierrick Bouvier <101587250+pbo-linaro@users.noreply.github.com> | 2023-11-23 12:17:28 +0400 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-01-13 16:23:44 +0900 |
| commit | 8f8f8d12b9e0efe814aecb24bcf718f099790d1e (patch) | |
| tree | c93ab90bd27691e2c63ba65c96166a44e67d9369 | |
| parent | d2edfe55e0cebf769c8a343788f56ea406b36286 (diff) | |
[win32] nm use full options
Fix compilation error when using MSYS2 environment.
Credits to MSYS2 Ruby package using this patch.
| -rwxr-xr-x | win32/mkexports.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
