From: phk Date: Mon, 26 May 2008 08:36:18 +0000 (+0000) Subject: Add compiler command for Solaris. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e98aed6f1c4046c3694fd5843f01c0afa1a9a8b;p=varnish Add compiler command for Solaris. Closes ticket #239 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2636 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_param.c b/varnish-cache/bin/varnishd/mgt_param.c index 0ab4ea03..eb7ad661 100644 --- a/varnish-cache/bin/varnishd/mgt_param.c +++ b/varnish-cache/bin/varnishd/mgt_param.c @@ -616,7 +616,9 @@ static const struct parspec parspec[] = { 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 },