summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/input/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/input/Makefile.am b/modules/input/Makefile.am
index dc552b588..5f8400fd5 100644
--- a/modules/input/Makefile.am
+++ b/modules/input/Makefile.am
@@ -87,7 +87,11 @@ endif
# Running this if cross compiling or if DESTDIR is set is going to
# not work at all, so skip it.
-install-data-local:
+# We use install-data-hook here to workaround a bug in automake and/or libtool
+# that makes the install target for the loader libraries a dependency on
+# install-data-am, and not install-exec-am. We need to ensure this gets run
+# after the libraries are installed in their final locations.
+install-data-hook:
@if $(RUN_QUERY_IMMODULES_TEST) ; then \
echo $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \