view cc-wrapper.sh.in @ 20339:327fcf6d2205

lib: Added t_str_tabunescape()
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 06 May 2016 17:24:42 +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