summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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],