---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index b55f3a0..c150e2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -449,7 +449,7 @@ if test "x$have_usbredir" = "xyes" && test 
"x$enable_polkit" != "xno"; then
     AC_DEFINE([USE_POLKIT], [1], [Define if supporting polkit])
   fi
   AM_CONDITIONAL([WITH_POLKIT], [test "x$have_polkit" = "xyes"])
-  POLICYDIR=`${PKG_CONFIG} polkit-gobject-1 --variable=policydir`
+  POLICYDIR="${prefix}/`${PKG_CONFIG} polkit-gobject-1 --variable=policydir`"
   AC_SUBST(POLICYDIR)
   # Check for polkit_authority_get_sync()
   AC_CHECK_LIB([polkit-gobject-1], [polkit_authority_get_sync], 
ac_have_pk_auth_get_sync="1", ac_have_pk_auth_get_sync="0")
-- 
2.1.0

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to