From 3e98aed6f1c4046c3694fd5843f01c0afa1a9a8b Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 26 May 2008 08:36:18 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/mgt_param.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }, -- 2.39.5