]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: don't use libs from pkg-config from libuser
authorKarel Zak <kzak@redhat.com>
Thu, 21 Mar 2013 12:12:52 +0000 (13:12 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Mar 2013 12:12:52 +0000 (13:12 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index b32d024ff091b1ce8241f7184506fe7c8c549d08..a69212fafebc98afe7d7c951d797b033056cdfdf 100644 (file)
@@ -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],