tools: libtool: do not symlink files in bootstrap

Another instance of files in build_dir symlinking to staging_dir. While
the symlinks do not currently cause any bugs in the libtool package,
such symlinks were found to make the build more fragile, as writing to
the symlink may accidentally modify the shared file in staging_dir. Pass
--copy to bootstrap to disable the symlinking.

Link: https://github.com/openwrt/openwrt/pull/15825
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
Matthias Schiffer 2024-08-29 20:04:02 +02:00
parent c364cb8e46
commit d6e5459319
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -28,6 +28,7 @@ define Host/Bootstrap
cd $(HOST_BUILD_DIR); \ cd $(HOST_BUILD_DIR); \
$(AM_TOOL_PATHS) \ $(AM_TOOL_PATHS) \
./bootstrap \ ./bootstrap \
--copy \
--force \ --force \
--skip-git \ --skip-git \
--skip-po \ --skip-po \