libtool: don't clobber host libtool infrastructure
authorJo-Philipp Wich <jo@mein.io>
Sat, 21 Jan 2017 23:28:54 +0000 (00:28 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 1 Feb 2017 15:05:52 +0000 (16:05 +0100)
commitd1d970e2352072ec06599b9024df107ac1b96f5d
treec567925403e6e935c5a9e03dc29732d11714ba44
parente5bc7bff85ba436f8ad4a1012b15d06d396f0b01
libtool: don't clobber host libtool infrastructure

The libtool target package stages its files into the host staging directory
and moves the libltdl library parts from there into the target staging
directory afterwards.

By doing so, the package essentially renders the host libtool infrastructure
unusable, leading to the below error in subsequent package builds:

    libtoolize: $pkgltdldir is not a directory: `.../hostpkg/share/libtool`

Prevent this problem by using a dedicated libltdl install prefix in order to
avoid overwriting and moving away preexisting files belonging to tools/libtool.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/libs/libtool/Makefile