summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2013-03-21 13:12:52 +0100
committerKarel Zak2013-03-21 13:12:52 +0100
commit1f6ec24ce58ba276dcc8c704ec0958fdc5ad2197 (patch)
treeda3ee3f33c6d2bbc0d188d8ffc3f6673841b3468 /configure.ac
parentbuild-sys: don't use nested BUILD_* (diff)
downloadkernel-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.ac5
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],