From: Karel Zak Date: Thu, 21 Mar 2013 12:12:52 +0000 (+0100) Subject: build-sys: don't use libs from pkg-config from libuser X-Git-Tag: v2.23-rc1~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f6ec24ce58ba276dcc8c704ec0958fdc5ad2197;p=thirdparty%2Futil-linux.git build-sys: don't use libs from pkg-config from libuser Signed-off-by: Karel Zak --- diff --git a/configure.ac b/configure.ac index b32d024ff0..a69212fafe 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],