]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: _PATH_VENDORDIR workaround
authorKarel Zak <kzak@redhat.com>
Tue, 2 Jul 2024 08:39:12 +0000 (10:39 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Jul 2024 08:54:53 +0000 (10:54 +0200)
commit10d3bb70d2f754cb5c86063c0115cfa0d9575bb7
tree91d57ec3de83044c6fac8b08118fcfa6224f82eb
parent23db938ce9bca73025e2838a6ffc30016ba1f4e2
build-sys: _PATH_VENDORDIR workaround

It appears that certain versions of libeconf do not handle calls to
econf_readDirs() with NULL path. Therefore, let's set the default to
"/usr/etc" if no value is defined by using the "--with-vendordir="
option.

Addresses: https://github.com/util-linux/util-linux/issues/3091
Signed-off-by: Karel Zak <kzak@redhat.com>
include/pathnames.h
lib/logindefs.c
libblkid/src/config.c
meson.build