summaryrefslogtreecommitdiffstats
path: root/javaunohelper/source/bootstrap.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-08 18:20:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-08 18:36:40 +0200
commite7a02843e54e1b64e2078549af110beaccf50348 (patch)
treea3bebd4847519a404f0d59f96cbb746c54f85820 /javaunohelper/source/bootstrap.cxx
parentMake ure/source/uretest work again (diff)
downloadcore-e7a02843e54e1b64e2078549af110beaccf50348.tar.gz
core-e7a02843e54e1b64e2078549af110beaccf50348.zip
Export JNI functions from juh, juhx libs
...this had been broken with gbuild'ification of javaunohelper and caused java.lang.UnsatisfiedLinkError from com.sun.star.comp.helper.Bootstrap.cppuhelper_bootstrap, as could be witnessed by test-javanative in ure/source/uretest/Makefile failing. Change-Id: I8a76e1195c713895bfb8eae5070b0f73beb2b897
Diffstat (limited to 'javaunohelper/source/bootstrap.cxx')
-rw-r--r--javaunohelper/source/bootstrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/javaunohelper/source/bootstrap.cxx b/javaunohelper/source/bootstrap.cxx
index 2e9fff19a956..5c6ac0a382ff 100644
--- a/javaunohelper/source/bootstrap.cxx
+++ b/javaunohelper/source/bootstrap.cxx
@@ -66,7 +66,7 @@ inline ::rtl::OUString jstring_to_oustring( jstring jstr, JNIEnv * jni_env )
}
//==================================================================================================
-extern "C" JNIEXPORT jobject JNICALL Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap(
+extern "C" SAL_DLLPUBLIC_EXPORT jobject JNICALL Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap(
JNIEnv * jni_env, SAL_UNUSED_PARAMETER jclass, jstring juno_rc, jobjectArray jpairs,
jobject loader )
{