diff options
author | Sebastian Kemper <sebastian_ml@gmx.net> | 2021-09-24 14:28:20 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-03-13 22:53:41 +0100 |
commit | a22c54e39f8cb668ea5d717a51359fe2409fa336 (patch) | |
tree | b60f47eddcaae88b37267f884ebcf27944e88717 /LICENSES/ISC | |
parent | efe56a51bcd0b2c2db39c682e88fb166a2431727 (diff) | |
download | upstream-a22c54e39f8cb668ea5d717a51359fe2409fa336.tar.gz upstream-a22c54e39f8cb668ea5d717a51359fe2409fa336.tar.bz2 upstream-a22c54e39f8cb668ea5d717a51359fe2409fa336.zip |
tools/libtool: fix hard-coded paths
libtoolize hardcodes some paths. This is fine when building libtool and
then using it (for example in OpenWrt's buildroot). But when using an
SDK the paths are most likely different.
For example, when building util-linux within an SDK we're greeted with
the following message:
libtoolize: error: $pkgauxdir is not a directory: '/path/to/openwrt/staging_dir/host/share/libtool/build-aux'
This is because staging_dir/host/bin/libtoolize contains the following
hard-coded paths from when the SDK was built in the first place:
prefix="/path/to/openwrt/staging_dir/host"
datadir="/path/to/openwrt/staging_dir/host/share"
pkgauxdir="/path/to/openwrt/staging_dir/host/share/libtool/build-aux"
pkgltdldir="/path/to/openwrt/staging_dir/host/share/libtool"
aclocaldir="/path/to/openwrt/staging_dir/host/share/aclocal"
This commits updates 000-relocatable.patch to correct the paths,
relative to "$STAGING_DIR_HOST".
Ref: 96e05e2e3 ("libtool: Revert "libtool: bump to 2.4.6"")
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
[adapted to older libtool version before bumping, use STAGING_DIR_HOST]
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'LICENSES/ISC')
0 files changed, 0 insertions, 0 deletions