]> git.ipfire.org Git - thirdparty/iproute2.git/commit
Makefile: ensure CONF_USR_DIR honours the libdir config
authorAndrea Claudi <aclaudi@redhat.com>
Fri, 15 Sep 2023 19:59:06 +0000 (21:59 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 18 Sep 2023 16:25:24 +0000 (09:25 -0700)
commit946753a4459bd035132a27bb2eb87529c1979b90
treed7a2ac26e4af1ac05d8afa0c02bbc12d7e8bb2d4
parent3427614348f1c0532d565a965506aade1e3560ad
Makefile: ensure CONF_USR_DIR honours the libdir config

Following commit cee0cf84bd32 ("configure: add the --libdir option"),
iproute2 lib directory is configurable using the --libdir option on the
configure script. However, CONF_USR_DIR does not honour the configured
lib path in its default value.

This fixes the issue simply using $(LIBDIR) instead of $(PREFIX)/lib.
Please note that the default value for $(LIBDIR) is exactly
$(PREFIX)/lib, so this does not change the default value for
CONF_USR_DIR.

Fixes: 0a0a8f12fa1b ("Read configuration files from /etc and /usr")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Makefile