summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bridges/Module_bridges.mk1
-rw-r--r--bridges/Package_jnilib_java_uno.mk16
2 files changed, 17 insertions, 0 deletions
diff --git a/bridges/Module_bridges.mk b/bridges/Module_bridges.mk
index e5600a63cb82..6c4e3bf6bd3a 100644
--- a/bridges/Module_bridges.mk
+++ b/bridges/Module_bridges.mk
@@ -14,6 +14,7 @@ $(eval $(call gb_Module_add_targets,bridges,\
$(if $(ENABLE_JAVA),\
Jar_java_uno \
Library_java_uno \
+ $(if $(filter MACOSX,$(OS)),Package_jnilib_java_uno) \
) \
$(if $(filter R,$(CPU)),\
$(if $(filter IOS,$(OS)),\
diff --git a/bridges/Package_jnilib_java_uno.mk b/bridges/Package_jnilib_java_uno.mk
new file mode 100644
index 000000000000..7dfe7744e8c6
--- /dev/null
+++ b/bridges/Package_jnilib_java_uno.mk
@@ -0,0 +1,16 @@
+# -*- 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,bridges_jnilib_java_uno,$(SRCDIR)))
+
+$(eval $(call gb_Package_set_outdir,bridges_jnilib_java_uno,$(gb_INSTROOT)))
+
+$(eval $(call gb_Package_add_symbolic_link,bridges_jnilib_java_uno,$(LIBO_URE_LIB_FOLDER)/$(basename $(notdir $(call gb_Library_get_target,java_uno))).jnilib,$(notdir $(call gb_Library_get_target,java_uno))))
+
+# vim: set noet sw=4 ts=4: