• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

DLL dependency listing utility for MinGW applications


Commit MetaInfo

修訂2b4c7d12c59253dd11d293cc70861c7c27483e38 (tree)
時間2020-09-10 04:37:28
作者Keith 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

差異

--- 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() {