diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-08-04 12:52:28 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-08-04 12:52:28 +0200 |
commit | 138f6f3d8a82f521c69e77d85a8e556673666a33 (patch) | |
tree | f48106a91a573e3e8775bebb10b4901f7ab8a61b | |
parent | 24fce7bab4e78bc4be5b575773ce1dcd6f5e4496 (diff) | |
download | neard-138f6f3d8a82f521c69e77d85a8e556673666a33.tar.gz |
build: fix missing pkglibdir substitute in neard.pc
The pkglibdir is used by neard.pc.in (so by autoconf) however the
automake defines it, not autoconf. Add early definition of pkglibdir so
substitute in neard.pc.in will work correctly.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c1fdc44..ffe4530 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,10 @@ if (test "${libdir}" = '${exec_prefix}/lib'); then libdir='${prefix}/lib' fi +# pkglibdir is defined by automake but autoconf parses the neard.pc.in +# which uses pkglibdir, therefore define it manually in autoconf. +AC_SUBST([pkglibdir], ["\${libdir}/${PACKAGE_NAME}"]) + plugindir='${pkglibdir}/plugins' se_plugindir='${pkglibdir}/plugins-se' AC_SUBST(plugindir) |