You can detect the mangling scheme during your Pkg.build step, and use it to define something similar to the @blasfunc macro in LinearAlgebra.jl that does your name-mangling for you. You then use this macro in every ccall.
1 Like