diff options
-rw-r--r-- | Library_merged.mk | 3 | ||||
-rw-r--r-- | solenv/gbuild/extensions/pre_MergedLibsList.mk | 1 | ||||
-rw-r--r-- | vcl/unx/generic/plugadapt/salplug.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Library_merged.mk b/Library_merged.mk index d712028f662d..fb29c940717a 100644 --- a/Library_merged.mk +++ b/Library_merged.mk @@ -103,9 +103,6 @@ $(eval $(call gb_Library_add_libs,merged,\ -lSM \ -lICE \ )) -$(eval $(call gb_Library_use_static_libraries,merged,\ - headless \ -)) endif ifeq ($(OS),LINUX) diff --git a/solenv/gbuild/extensions/pre_MergedLibsList.mk b/solenv/gbuild/extensions/pre_MergedLibsList.mk index a8acf370366c..cbccd67e4abd 100644 --- a/solenv/gbuild/extensions/pre_MergedLibsList.mk +++ b/solenv/gbuild/extensions/pre_MergedLibsList.mk @@ -129,7 +129,6 @@ gb_MERGEDLIBS := \ uui \ $(if $(DISABLE_SCRIPTING),,vbahelper) \ vcl \ - $(if $(filter unx,$(GUIBASE)),vclplug_svp) \ $(if $(filter-out IOS,$(OS)),wpftdraw) \ $(if $(filter-out IOS,$(OS)),wpftwriter) \ writerfilter \ diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx index dc8b58668113..e8a2eeb5d233 100644 --- a/vcl/unx/generic/plugadapt/salplug.cxx +++ b/vcl/unx/generic/plugadapt/salplug.cxx @@ -118,7 +118,11 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals static DesktopType get_desktop_environment() { OUStringBuffer aModName( 128 ); - aModName.appendAscii( SAL_DLLPREFIX"desktop_detector" ); + #ifdef LIBO_MERGELIBS + aModName.appendAscii( SAL_DLLPREFIX"merged" ); + #else + aModName.appendAscii( SAL_DLLPREFIX"desktop_detector" ); + #endif aModName.appendAscii( SAL_DLLPOSTFIX ); OUString aModule = aModName.makeStringAndClear(); |