• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#windowsobjective-ccocoaqtpython誰得phprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

DLL dependency listing utility for MinGW applications


Commit MetaInfo

Revision2b4c7d12c59253dd11d293cc70861c7c27483e38 (tree)
Time2020-09-10 04:37:28
AuthorKeith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Avoid the use of GNU-specific awk extensions.

* mingw32-ldd.sh (list_depends): Do not depend on the effect of...
(IGNORECASE): ...this awk variable; it is a GNU extension; prefer...
[tolower($0) ~ /pattern/]: ...this POSIX.1 standard construct.

Change Summary

Incremental Difference

--- a/mingw32-ldd.sh
+++ b/mingw32-ldd.sh
@@ -85,7 +85,7 @@
8585 # Helper function, called by depends(), to perform dependency list
8686 # extraction from the file explicitly named by EXENAME or DLLNAME.
8787 #
88- $objdump -x "$1" | awk 'BEGIN{IGNORECASE=1}/dll name/{print $NF}'
88+ $objdump -x "$1" | awk 'tolower($0) ~ /dll name/ {print $NF}'
8989 }
9090 #
9191 plot_depends() {