Pārlūkot izejas kodu

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 <[email protected]>
Matthias Schiffer 1 gadu atpakaļ
vecāks
revīzija
d6e5459319
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      tools/libtool/Makefile

+ 1 - 0
tools/libtool/Makefile

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