diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-09 20:54:11 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-09 20:54:11 +0100 |
commit | 2154fca1fb30dc4b26cac8a98c27d51c78ff6a8f (patch) | |
tree | a2a90291e0dc8c4a751d207675aeda8c2e865ec4 /shell | |
parent | 3bdb950f5edac0cdb09318cea307b4342a0fd714 (diff) |
scp2: try to move losessioninstall so it does not break WNT build
Also MSVC does not like libraries that do not have any objects.
Change-Id: I172fe0b61db9de6c7c4975a7b7c7fa63624b1865
Diffstat (limited to 'shell')
-rw-r--r-- | shell/Library_losessioninstall.mk | 4 | ||||
-rw-r--r-- | shell/Module_shell.mk | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/shell/Library_losessioninstall.mk b/shell/Library_losessioninstall.mk index ebd98af264bd..65dee35586e6 100644 --- a/shell/Library_losessioninstall.mk +++ b/shell/Library_losessioninstall.mk @@ -23,8 +23,6 @@ $(eval $(call gb_Library_use_libraries,losessioninstall,\ sal \ )) -ifeq ($(RTL_OS),Linux) -ifeq ($(ENABLE_GIO),TRUE) $(eval $(call gb_Library_use_externals,losessioninstall,\ dbus \ gio \ @@ -34,7 +32,5 @@ $(eval $(call gb_Library_add_exception_objects,losessioninstall,\ shell/source/sessioninstall/SyncDbusSessionHelper \ shell/source/sessioninstall/services \ )) -endif -endif # vim:set shiftwidth=4 softtabstop=4 expandtab: diff --git a/shell/Module_shell.mk b/shell/Module_shell.mk index 50687acc4e4c..3726c4fa1c1a 100644 --- a/shell/Module_shell.mk +++ b/shell/Module_shell.mk @@ -30,8 +30,15 @@ $(eval $(call gb_Module_Module,shell)) $(eval $(call gb_Module_add_targets,shell,\ Library_desktopbe \ Library_localebe \ +)) + +ifeq ($(OS),LINUX) +ifeq ($(ENABLE_GIO),TRUE) +$(eval $(call gb_Module_add_targets,shell,\ Library_losessioninstall \ )) +endif +endif ifeq ($(ENABLE_GCONF),TRUE) $(eval $(call gb_Module_add_targets,shell,\ |