diff options
author | Karel Zak | 2013-03-21 13:12:52 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-21 13:12:52 +0100 |
commit | 1f6ec24ce58ba276dcc8c704ec0958fdc5ad2197 (patch) | |
tree | da3ee3f33c6d2bbc0d188d8ffc3f6673841b3468 /configure.ac | |
parent | build-sys: don't use nested BUILD_* (diff) | |
download | kernel-qcow2-util-linux-1f6ec24ce58ba276dcc8c704ec0958fdc5ad2197.tar.gz kernel-qcow2-util-linux-1f6ec24ce58ba276dcc8c704ec0958fdc5ad2197.tar.xz kernel-qcow2-util-linux-1f6ec24ce58ba276dcc8c704ec0958fdc5ad2197.zip |
build-sys: don't use libs from pkg-config from libuser
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b32d024ff..a69212faf 100644 --- a/configure.ac +++ b/configure.ac @@ -1132,6 +1132,11 @@ else AC_MSG_ERROR([user selected but libuser not found]) ;; esac + # temporary solution, libuser has stupid .pc where are exported all + # private dependencies to Requires: instead of Requires.private: + if test "x$have_user" = xyes; then + LIBUSER_LIBS=-luser + fi fi AC_ARG_ENABLE([chfn-chsh-password], |