view cc-wrapper.sh.in @ 19602:23bfa269e975

Makefile: Fixed ChangeLog generation with older git versions that don't support --since Changed the oldest changeset to be the v2.0.0 release commit.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 20 Jan 2016 19:35:06 +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