about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-10-02 10:53:25 -0400
committerCharadon <dev@iotib.net>2022-10-02 10:53:25 -0400
commitb1aedc9e90088ca67e7b1e265daa6545d0fd028e (patch)
tree16b34796a1a6c752d7cd8115b262241ff4fdfcb3
parent5921a911a22984ac0c89f28339c11d78d30c66f5 (diff)
downloadPong-C-b1aedc9e90088ca67e7b1e265daa6545d0fd028e.tar.gz
distribute.sh: Fixed OpenBSD ldd command.
-rwxr-xr-xdistribute.sh6
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}');