diff options
| author | Matthias Schiffer | 2024-08-29 18:04:02 +0000 |
|---|---|---|
| committer | Matthias Schiffer | 2024-08-29 18:04:02 +0000 |
| commit | d6e54593198851235906c6ab77c20c6209ab19f5 (patch) | |
| tree | 738137bd4f137372a8d96fa8bf2fa53e8ec6fdfc | |
| parent | c364cb8e469f9a7de1ed8960163c90e26b2df1ad (diff) | |
| download | openwrt-d6e54593198851235906c6ab77c20c6209ab19f5.tar.gz | |
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>
| -rw-r--r-- | tools/libtool/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libtool/Makefile b/tools/libtool/Makefile index dd9afc05bd..533360d199 100644 --- a/tools/libtool/Makefile +++ b/tools/libtool/Makefile @@ -28,6 +28,7 @@ define Host/Bootstrap cd $(HOST_BUILD_DIR); \ $(AM_TOOL_PATHS) \ ./bootstrap \ + --copy \ --force \ --skip-git \ --skip-po \ |