diff options
author | Charadon <dev@iotib.net> | 2022-10-02 10:53:25 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-10-02 10:53:25 -0400 |
commit | b1aedc9e90088ca67e7b1e265daa6545d0fd028e (patch) | |
tree | 16b34796a1a6c752d7cd8115b262241ff4fdfcb3 | |
parent | 5921a911a22984ac0c89f28339c11d78d30c66f5 (diff) | |
download | Pong-C-b1aedc9e90088ca67e7b1e265daa6545d0fd028e.tar.gz |
distribute.sh: Fixed OpenBSD ldd command.
-rwxr-xr-x | distribute.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/distribute.sh b/distribute.sh index 2700fac..ba70f0e 100755 --- a/distribute.sh +++ b/distribute.sh @@ -35,6 +35,12 @@ case "$(uname -s)" in cp "$i" "$CONFIG_INSTALL_PREFIX/libs/" done ;; + OpenBSD) + for i in $(ldd "$CONFIG_BUILD_DIR"/bin/Pong* | awk '/usr\/local/ {print $7}'); + do + cp "$i" "$CONFIG_INSTALL_PREFIX/libs/" + done + ;; *BSD) # BSDs keep installed packages in /usr/local for i in $(ldd "$CONFIG_BUILD_DIR"/bin/Pong* | awk '/usr\/local/ {print $3}'); |