(%.out): Define GCONV_PATH in the environment.

This commit is contained in:
Ulrich Drepper 2000-06-12 18:59:22 +00:00
parent b62990918e
commit a21cd9d193

2
Rules
View File

@ -119,8 +119,10 @@ ifneq "$(strip $(tests) $(test-srcs))" ""
# These are the implicit rules for making test outputs
# from the test programs and whatever input files are present.
$(objpfx)%.out: %.input $(objpfx)%
GCONV_PATH=$(common-objpfx)iconvdata \
$($*-ENV) $(built-program-cmd) $($*-ARGS) < $(word 1,$^) > $@
$(objpfx)%.out: /dev/null $(objpfx)% # Make it 2nd arg for canned sequence.
GCONV_PATH=$(common-objpfx)iconvdata \
$($*-ENV) $(built-program-cmd) $($*-ARGS) > $@
endif # tests