From: phk Date: Tue, 10 Jun 2008 13:29:08 +0000 (+0000) Subject: Make this compile under OS/X 10.5 Leopard X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=314ebf22ea8fe8ab68c05e8f855541792528b1a2;p=varnish Make this compile under OS/X 10.5 Leopard Submitted by: peter Closes: 245 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2660 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_param.c b/varnish-cache/bin/varnishd/mgt_param.c index 9e2d6464..e8dbda43 100644 --- a/varnish-cache/bin/varnishd/mgt_param.c +++ b/varnish-cache/bin/varnishd/mgt_param.c @@ -687,7 +687,7 @@ static const struct parspec parspec[] = { MUST_RELOAD, #ifdef __APPLE__ "exec cc -dynamiclib -Wl,-undefined,dynamic_lookup -o %o %s" -#elseif defined(__SOLARIS__) +#elif defined(__SOLARIS__) "exec cc -shared -fpic -c %o %s" #else /* default: GCC on Linux & FreeBSD */ "exec cc -fpic -shared -Wl,-x -o %o %s"