Skip to content

Commit

Permalink
tools: libtool: do not symlink files in bootstrap
Browse files Browse the repository at this point in the history
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: openwrt/openwrt#15825
Signed-off-by: Matthias Schiffer <[email protected]>
  • Loading branch information
neocturne committed Aug 29, 2024
1 parent c364cb8 commit d6e5459
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/libtool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ define Host/Bootstrap
cd $(HOST_BUILD_DIR); \
$(AM_TOOL_PATHS) \
./bootstrap \
--copy \
--force \
--skip-git \
--skip-po \
Expand Down

0 comments on commit d6e5459

Please sign in to comment.