mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
[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:
4
cscore/src/main/native/LinuxSymbolScript.txt
Normal file
4
cscore/src/main/native/LinuxSymbolScript.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
cscorejnicvstatic {
|
||||
global: CS_*; JNI_*; Java_*; # explicitly list symbols to be exported
|
||||
local: *; # hide everything else
|
||||
};
|
||||
3
cscore/src/main/native/MacSymbolScript.txt
Normal file
3
cscore/src/main/native/MacSymbolScript.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
_CS_*
|
||||
_JNI_*
|
||||
_Java_*
|
||||
Reference in New Issue
Block a user