view cc-wrapper.sh.in @ 19326:098de79b89c8

ssl_options: Added support for no_ticket
author Timo Sirainen <tss@iki.fi>
date Wed, 21 Oct 2015 13:32:58 +0300
parents b0c7d2f8a185
children
line wrap: on
line source

#!/bin/sh

if echo "$*" | grep -- -ldl > /dev/null; then
  # the binary uses plugins. make sure we include everything from .a libs
  exec @CC@ -Wl,--whole-archive $* -Wl,--no-whole-archive
else
  exec @CC@ $*
fi