cc-wrapper: Also export env var for windres, when it is present

This commit is contained in:
John Ericson 2017-06-28 11:54:21 -04:00
parent a40ceb2782
commit c23028bdad

View File

@ -71,7 +71,7 @@ let
'' + stdenv.lib.optionalString (textFile == ./setup-hook.sh) ''
cat << 'EOF' >> $out
for CMD in ar as nm objcopy ranlib strip strings size ld
for CMD in ar as nm objcopy ranlib strip strings size ld windres
do
# which is not part of stdenv, but compgen will do for now
if