diff options
Diffstat (limited to 'cli_ure')
-rw-r--r-- | cli_ure/Executable_climaker.mk | 4 | ||||
-rw-r--r-- | cli_ure/Module_cli_ure.mk | 1 | ||||
-rw-r--r-- | cli_ure/Package_cli_basetypes_copy.mk | 20 |
3 files changed, 25 insertions, 0 deletions
diff --git a/cli_ure/Executable_climaker.mk b/cli_ure/Executable_climaker.mk index db7e42ccdc7e..f1aaf62914ae 100644 --- a/cli_ure/Executable_climaker.mk +++ b/cli_ure/Executable_climaker.mk @@ -9,6 +9,10 @@ $(eval $(call gb_Executable_Executable,climaker)) +$(eval $(call gb_Executable_use_package,climaker,\ + cli_basetypes_copy \ +)) + $(eval $(call gb_Executable_add_cxxflags,climaker,\ -AI $(gb_Helper_OUTDIRLIBDIR) \ -clr \ diff --git a/cli_ure/Module_cli_ure.mk b/cli_ure/Module_cli_ure.mk index 64f9bb916bd2..0c2e9dafb914 100644 --- a/cli_ure/Module_cli_ure.mk +++ b/cli_ure/Module_cli_ure.mk @@ -24,6 +24,7 @@ $(eval $(call gb_Module_add_targets,cli_ure,\ Library_cli_cppuhelper_native \ Library_cli_uno \ Package_config \ + Package_cli_basetypes_copy \ )) endif diff --git a/cli_ure/Package_cli_basetypes_copy.mk b/cli_ure/Package_cli_basetypes_copy.mk new file mode 100644 index 000000000000..fdb76bef8c06 --- /dev/null +++ b/cli_ure/Package_cli_basetypes_copy.mk @@ -0,0 +1,20 @@ + +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Package_Package,cli_basetypes_copy,$(WORKDIR))) + +$(eval $(call gb_Package_set_outdir,cli_basetypes_copy,$(INSTDIR))) + +# duplicate copy to work around CLR DLL finding brain damage +$(eval $(call gb_Package_add_files,cli_basetypes_copy,$(gb_Package_SDKDIRNAME)/bin,\ + CliLibraryTarget/cli_basetypes.dll \ +)) + +# vim: set noet sw=4 ts=4: |