config.lib
changeset 6556 195bb9b3c565
parent 6554 28f436faed81
child 6564 96fb28504900
--- a/config.lib	Tue Mar 06 19:33:28 2007 +0000
+++ b/config.lib	Tue Mar 06 20:37:46 2007 +0000
@@ -496,6 +496,10 @@
 			strip_arg=""
 			# OS2 uses strip via gcc, because it needs to be feed to emxbind
 			LDFLAGS="$LDFLAGS -s"
+		elif [ "$os" = "SUNOS" ]; then
+			# The GNU strip does know -s, the non-GNU doesn't
+			#  So try to detect it (in a bit of an ugly way)
+			strip_arg="`$strip -s strip.test 2>/dev/null && echo \"-s\"`"
 		else
 			strip_arg="-s"
 		fi