diff options
-rw-r--r-- | misc/Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/Makefile.common b/misc/Makefile.common index 0e503b2b4..780eb86aa 100644 --- a/misc/Makefile.common +++ b/misc/Makefile.common @@ -10,7 +10,7 @@ install-data-hook: $(top_srcdir)/post-install.sh ; \ fi; \ fi; \ - if test -x /usr/bin/chcon ; then \ + if test -x /usr/bin/chcon -a `id -u` -eq 0; then \ list='$(lib_LTLIBRARIES)'; \ if test -n "$$list" ; then \ for p in $$list; do \ |