Makefile: auto-target automatically pass --program-prefix=""
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>
Tue, 9 Aug 2011 22:12:34 +0000 (00:12 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 11 Sep 2011 22:08:13 +0000 (00:08 +0200)
commita8d6e2cc70e1532efea7aba791625a8cb68a10e4
tree4263edde2e6ec2e831442eaac6418bbbb652ed17
parentdba4b184318450435e3c5efd0b1955edbece8feb
Makefile: auto-target automatically pass --program-prefix=""

When cross-compiled, some packages incorrectly prefix their executables
with the target tuple.

Fix that by forcing the program prefix to the empty string when calling
./configure, but only when compiling for target, not for host.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.autotools.in