From 2863cef15520df91bf5a9083bb6ea6f40a6c350b 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/Makefile.am b/tools/Makefile.am index 19aaf363..2f8e27dd 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -114,6 +114,18 @@ dbus_update_activation_environment_SOURCES = \ $(NULL) dbus_update_activation_environment_LDADD = $(top_builddir)/dbus/libdbus-1.la +if DBUS_WIN +SUFFIXES = .rc + +.rc.o: + $(WINDRES) $< -o $@ + +dbus_update_activation_environment_SOURCES += $(top_builddir)/tools/duae_manifest.rc $(NULL) + +$(top_builddir)/tools/duae_manifest.rc: $(top_srcdir)/cmake/modules/Win32.Manifest.in + echo -e "1 24 \"$(top_srcdir)/cmake/modules/Win32.Manifest.in\"" > $(top_builddir)/tools/duae_manifest.rc +endif + EXTRA_DIST = run-with-tmp-session-bus.sh strtoll.c strtoull.c CLEANFILES = \ run-with-tmp-session-bus.conf -- 2.12.3