mirror of
https://github.com/jlengrand/quarkus.git
synced 2026-03-10 08:41:22 +00:00
Check if a container runtime is set or the container build is enabled for adding the librocksdbjni-linux64.so
This commit is contained in:
@@ -107,7 +107,7 @@ class KafkaStreamsProcessor {
|
||||
|
||||
private void addSupportForRocksDbLib(BuildProducer<NativeImageResourceBuildItem> nativeLibs, NativeConfig nativeConfig) {
|
||||
// for RocksDB, either add linux64 native lib when targeting containers
|
||||
if (nativeConfig.containerBuild) {
|
||||
if (nativeConfig.containerRuntime.isPresent() || nativeConfig.containerBuild) {
|
||||
nativeLibs.produce(new NativeImageResourceBuildItem("librocksdbjni-linux64.so"));
|
||||
}
|
||||
// otherwise the native lib of the platform this build runs on
|
||||
|
||||
Reference in New Issue
Block a user