Mailing List Archive

r2636 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2008-05-26 10:36:18 +0200 (Mon, 26 May 2008)
New Revision: 2636

Modified:
trunk/varnish-cache/bin/varnishd/mgt_param.c
Log:
Add compiler command for Solaris.

Closes ticket #239


Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c 2008-04-24 06:46:39 UTC (rev 2635)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c 2008-05-26 08:36:18 UTC (rev 2636)
@@ -616,7 +616,9 @@
MUST_RELOAD,
#ifdef __APPLE__
"exec cc -dynamiclib -Wl,-undefined,dynamic_lookup -o %o %s"
-#else
+#elseif defined(__SOLARIS__)
+ "exec cc -shared -fpic -c %o %s"
+#else /* default: GCC on Linux & FreeBSD */
"exec cc -fpic -shared -Wl,-x -o %o %s"
#endif
, NULL },