1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00

gnulib-tool.py: Use --symlink or --hardlink for local modules.

Reported by Pádraig Brady in
<https://lists.gnu.org/r/coreutils/2026-03/msg00015.html>.

* pygnulib/GLConfig.py (__init__): If --local-symlink or
--local-hardlink are not specified, use the value specified by --symlink
or --hardlink for local modules instead of copying.
This commit is contained in:
Collin Funk
2026-03-05 22:22:41 -08:00
parent 611d6fd593
commit ddea1a41eb
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,12 @@
2026-03-05 Collin Funk <collin.funk1@gmail.com>
gnulib-tool.py: Use --symlink or --hardlink for local modules.
Reported by Pádraig Brady in
<https://lists.gnu.org/r/coreutils/2026-03/msg00015.html>.
* pygnulib/GLConfig.py (__init__): If --local-symlink or
--local-hardlink are not specified, use the value specified by --symlink
or --hardlink for local modules instead of copying.
2026-03-03 Bruno Haible <bruno@clisp.org>
Don't use 'typeof' built-in with -std=c99 or -std=c11.

View File

@@ -209,8 +209,8 @@ class GLConfig:
# lcopymode (--local-symlink and --local-hardlink)
self.resetLCopyMode()
if lcopymode == None:
# Default to copying.
lcopymode = CopyAction.Copy
# Default to the mode used for non-local modules.
lcopymode = copymode
self.setLCopyMode(lcopymode)
# configure_ac
self.resetAutoconfFile()