view cc-wrapper.sh.in @ 19615:152ed3cd2bad

pop3-migration: Added pop3_migration_skip_size_check setting If we know that we're not going to be able to match any messages by sizes, we might as well not ask for the messages' sizes. This is useful at least with Yahoo.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sun, 24 Jan 2016 16:27:21 +0200
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