SHA256
1
0
forked from pool/gvfs
gvfs/gvfs-no-querymodule-on-install.patch

29 lines
836 B
Diff
Raw Normal View History

From f609ecec4e8c23659cbd0ebd4c7357d2969dc7cc Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@gnome.org>
Date: Sun, 14 Feb 2010 18:38:04 +0100
Subject: [PATCH] Do not call gio-querymodules on install when DESTDIR is set
This is a bug introduced in a18a1896c0bceaf9a467f00a9678e322d615e786. We
want to call gio-querymodules on install, except when building a
package.
---
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 4dde338..25f939a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,7 +33,7 @@ distclean-local:
fi
install-data-hook:
- if test ! -z "$(DESTDIR)" -a "$(GIO_QUERYMODULES)" != "no" ; then \
+ if test -z "$(DESTDIR)" -a "$(GIO_QUERYMODULES)" != "no" ; then \
$(GIO_QUERYMODULES) $(DESTDIR)$(giomodulesdir) ; \
fi
--
1.6.6.1