Native image fixes

This commit is contained in:
Andrea Cavalli 2024-09-13 11:27:07 +02:00
parent 8d2a6f9118
commit 9cee4cd6a0

View File

@ -315,7 +315,9 @@
<buildArg>-march=native</buildArg>
<buildArg>-H:IncludeResourceBundles=net.sourceforge.argparse4j.internal.ArgumentParserImpl</buildArg>
<buildArg>-O1</buildArg>
<buildArg>-H:+StaticExecutableWithDynamicLibC</buildArg>
<!--<buildArg>-H:+StaticExecutableWithDynamicLibC</buildArg>-->
<buildArg>--static</buildArg>
<buildArg>--libc=musl</buildArg>
<buildArg>-H:+JNI</buildArg>
<buildArg>-H:+ForeignAPISupport</buildArg>
<buildArg>-H:IncludeResources=librocksdbjni-linux64.so</buildArg>