about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-10-06 20:48:02 -0400
committerCharadon <dev@iotib.net>2022-10-06 20:48:02 -0400
commit3fd349dd582a17da7a3644055619b6db04f51bde (patch)
tree047e6b48f8fcda803732b6f7ab99e0c8ec65f7ad
parent787db008715a4e4737f71f682cde2bd595edbe4f (diff)
downloadPong-C-3fd349dd582a17da7a3644055619b6db04f51bde.tar.gz
distribute.sh: Added Solaris support.
-rwxr-xr-xdistribute.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/distribute.sh b/distribute.sh
index 4c1b05d..3293160 100755
--- a/distribute.sh
+++ b/distribute.sh
@@ -41,6 +41,12 @@ case "$(uname -s)" in
 			cp "$i" "$CONFIG_INSTALL_PREFIX/libs/"
 		done
 		;;
+	SunOS)
+		for i in $(ldd "$CONFIG_BUILD_DIR"/bin/Pong* | awk '/usr\/lib/ {print $3}');
+		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}');