[Spread-cvs] commit: r439 - trunk

jonathan at spread.org jonathan at spread.org
Fri Jan 6 00:33:50 EST 2012


Author: jonathan
Date: 2012-01-06 00:33:50 -0500 (Fri, 06 Jan 2012)
New Revision: 439

Modified:
   trunk/configure.in
Log:
Fix Solaris SPARC/gcc build by using correct shared library linker commands.

Modified: trunk/configure.in
===================================================================
--- trunk/configure.in	2011-12-31 17:30:40 UTC (rev 438)
+++ trunk/configure.in	2012-01-06 05:33:50 UTC (rev 439)
@@ -753,6 +753,20 @@
 	LIBSPCORESO=none
 	LIBTSPCORESO=none
 	;;
+*-*-solaris*)
+	SHCC=$CC
+	SHCFLAGS="$CFLAGS -fPIC"
+	SHCPPFLAGS="$CPPFLAGS"
+	SHLD="$CC -shared"
+	SHLDFLAGS="$SHLDFLAGS $LDFLAGS"
+	SHLIBS=$LIBS
+	SHLDOPTION="-Wl,"
+	SHLDNAME="-h,"
+	SHLDCONVERTSTATIC="-Wl,-whole-archive"
+	SHLDCONVERTSTATICEND="-Wl,-no-whole-archive"
+	LIBSPSO="libspread.so"
+	LIBSPCORESO="libspread-core.so"
+	LIBTSPCORESO="libtspread-core.so"
 *-*-*)
 	SHCC=$CC
 	SHCFLAGS="$CFLAGS -fPIC"




More information about the Spread-cvs mailing list