]> git.tuebingen.mpg.de Git - paraslash.git/commit
build: Fix make install for cross builds.
authorAndre Noll <maan@systemlinux.org>
Fri, 30 Aug 2013 05:02:06 +0000 (05:02 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Dec 2013 10:47:32 +0000 (11:47 +0100)
commite8b555a39bf1b41a0123f3e69b7190501cffa454
tree1986c6da48e4858a020d2e64a072ec83acc9bc61
parentaab667adba868be9e9038a8686dc4919a5a8e96d
build: Fix make install for cross builds.

make install discards symbols from executables by using the -s option
to the install command. If no install command was detected at configure
time, the install-sh script shipped in the paraslash source tree is
used instead.

This is currently broken for cross-builds because install -s runs the
native strip command by default but the cross-strip is required here.

Both the install script and the install command from gnu coreutils
support custom strip commands, but the syntax for specifying these are
different. A decent install program is available at least on FreeBSD,
NetBSD, MacOS and Linux, so let's just kill the script and use the
--strip-command option of the install program to allow the user to
specify a suitable cross-strip.
Makefile.in
configure.ac
install-sh [deleted file]