From 7fa432b262c42408284281711f8b465526563008 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Wed, 6 Sep 2017 17:08:32 +0200 Subject: [PATCH] Set execution level to 'asInvoker' to dbus_update_activation_environment on Windows (autotools part) --- tools/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/Makefile.am b/tools/Makefile.am index 19aaf363..8b9b8f5a 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -112,6 +112,9 @@ dbus_update_activation_environment_SOURCES = \ tool-common.c \ tool-common.h \ $(NULL) +if DBUS_WIN + dbus_update_activation_environment_SOURCES += $(top_builddir)/tools/dbus_update_activation_environment.rc +endif dbus_update_activation_environment_LDADD = $(top_builddir)/dbus/libdbus-1.la EXTRA_DIST = run-with-tmp-session-bus.sh strtoll.c strtoull.c @@ -124,3 +127,8 @@ install-data-local: installcheck-local: test -d $(DESTDIR)$(localstatedir)/lib/dbus + +if DBUS_WIN +$(top_builddir)/tools/dbus_update_activation_environment.rc: + echo -e "1 24 \"$(top_srcdir)/cmake/modules/Win32.Manifest.in\"" > $(top_builddir)/tools/dbus_update_activation_environment.rc +endif -- 2.12.3