It turns out that the native library cannot be renamed after creation. The right name must be used from the beginning, otherwise publishing is failing with the follow error (gacutil -i): "Failure adding assembly to the cache: Invalid file or assembly name. The name of the file must be the name of the assembly plus .dll or .exe." To rectify that create the native lib as cli_cppuhelper.dll, rename the signed assembly to assembly/cli_cppuhelper.dll and teach scp2 to pick up the right one: assembly/cli_cppuhelper.dll (and not cli_cppuhelper.dll). Change-Id: I2073b617cd440865ae4ab838bb801329f2b07194
28 lines
1.0 KiB
Makefile
Executable File
28 lines
1.0 KiB
Makefile
Executable File
# -*- 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/.
|
|
#
|
|
|
|
include $(SRCDIR)/cli_ure/version/version.txt
|
|
|
|
$(eval $(call gb_CliNativeLibrary_CliNativeLibrary,assembly/cli_cppuhelper))
|
|
|
|
$(eval $(call gb_CliNativeLibrary_wrap_library,assembly/cli_cppuhelper,cli_cppuhelper))
|
|
|
|
$(eval $(call gb_CliNativeLibrary_set_configfile,assembly/cli_cppuhelper,cli_ure/source/native/cli_cppuhelper_config))
|
|
|
|
$(eval $(call gb_CliNativeLibrary_set_keyfile,assembly/cli_cppuhelper,$(SRCDIR)/cli_ure/source/cliuno.snk))
|
|
|
|
$(eval $(call gb_CliNativeLibrary_set_policy,assembly/cli_cppuhelper,$(CLI_CPPUHELPER_POLICY_ASSEMBLY),$(CLI_CPPUHELPER_POLICY_VERSION)))
|
|
|
|
$(eval $(call gb_CliNativeLibrary_use_assemblies,assembly/cli_cppuhelper,\
|
|
cli_ure \
|
|
cli_uretypes \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|