diff options
-rw-r--r-- | setup_native/Package_packinfo.mk | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/setup_native/Package_packinfo.mk b/setup_native/Package_packinfo.mk index b2064c46c36b..d958a2631d18 100644 --- a/setup_native/Package_packinfo.mk +++ b/setup_native/Package_packinfo.mk @@ -9,12 +9,11 @@ $(eval $(call gb_Package_Package,setup_native_packinfo,$(SRCDIR))) -# Check if any bundled extensions are installed (where ENABLE_JAVA covers Extension_nlpsolver, cf. -# nlpsolver/Module_nlpsolver.mk); if none are installed, then gb_Package_add_empty_directory is -# needed to create the empty extensions directory (but if any are installed, then -# gb_Package_add_empty_directory would cause errors during CustomTarget_instsetoo_native/install, as -# the directory is not empty in that case): -ifeq ($(filter CT2N DICTIONARIES LANGUAGETOOL,$(BUILD_TYPE))$(ENABLE_MEDIAWIKI)$(NUMBERTEXT_EXTENSION_PACK)$(ENABLE_JAVA),) +# Check if any bundled extensions are installed; if none are installed, then +# gb_Package_add_empty_directory is needed to create the empty extensions directory (but if any are +# installed, then gb_Package_add_empty_directory would cause errors during +# CustomTarget_instsetoo_native/install, as the directory is not empty in that case): +ifeq ($(filter DICTIONARIES,$(BUILD_TYPE))$(WITH_EXTRA_EXTENSIONS)$(ENABLE_MEDIAWIKI),) $(eval $(call gb_Package_add_empty_directory,setup_native_packinfo,$(LIBO_SHARE_FOLDER)/extensions)) endif |