]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/meson: remove duplicated source files from lib_common_sources
authorKarel Zak <kzak@redhat.com>
Mon, 9 Mar 2026 09:30:57 +0000 (10:30 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 9 Mar 2026 09:30:57 +0000 (10:30 +0100)
The files idcache.c, randutils.c, md5.c, sha1.c, strutils.c, and
strv.c were listed both in the base lib_common_sources string list
and then appended again via files() objects. Remove them from the
base list since the files() append is needed for the named variables
used by other meson.build files.

Addresses: https://github.com/util-linux/util-linux/issues/4085
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/meson.build

index 1469fb1404617ffbc51b623bbe9ba20ca20a5bdb..8bf6999283b785e1ef7e3143556be40a00313605 100644 (file)
@@ -10,24 +10,18 @@ lib_common_sources = '''
        encode.c
        env.c
        fileutils.c
-       idcache.c
        jsonwrt.c
        mangle.c
        match.c
        mbsalign.c
        mbsedit.c
-       md5.c
        pidutils.c
        pidfd-utils.c
        procfs.c
        pwdutils.c
-       randutils.c
-       sha1.c
        sha256.c
        shells.c
        signames.c
-       strutils.c
-       strv.c
        timeutils.c
        ttyutils.c
        xxhash.c