diff options
author | Arne Schwabe <arne@rfc2549.org> | 2015-01-23 18:29:22 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2015-01-23 18:29:22 +0100 |
commit | 93a871cb84fdd47a9104347e5db325247c12de94 (patch) | |
tree | 3d992fc768a14576c03ea912f7e24df8539b3f84 /main/jni/jniglue.c | |
parent | 6fe5c56a135c2cde7cc76f68a96c7d104b568036 (diff) |
ONly jni library build date for debug build (closes issue #321)
Diffstat (limited to 'main/jni/jniglue.c')
-rw-r--r-- | main/jni/jniglue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/jni/jniglue.c b/main/jni/jniglue.c index d446f78c..85d2f2d5 100644 --- a/main/jni/jniglue.c +++ b/main/jni/jniglue.c @@ -14,7 +14,9 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved) { void android_openvpn_log(int level,const char* prefix,const char* prefix_sep,const char* m1) { +#ifndef NDEBUG __android_log_print(ANDROID_LOG_DEBUG,"openvpn","%s%s%s",prefix,prefix_sep,m1); +#endif } void Java_de_blinkt_openvpn_core_NativeUtils_jniclose(JNIEnv *env,jclass jo, jint fd) { |