[cscore] Limit jnicvstatic exports to only C and JNI symbols (#2565)

Reduces risk even more about accidentally interfering with OpenCV.
This commit is contained in:
Thad House
2020-07-03 21:53:56 -07:00
committed by GitHub
parent 2a0f79b90f
commit 6e4ee8da2b
4 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
cscorejnicvstatic {
global: CS_*; JNI_*; Java_*; # explicitly list symbols to be exported
local: *; # hide everything else
};

View File

@@ -0,0 +1,3 @@
_CS_*
_JNI_*
_Java_*