mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 15:44:28 +01:00
* due to different glibc versions, it is not possible to use the existing (prebuilt) libsignal_jni.so that get's shipped with the signal-cli binary distribution for the signal-cli native image build. So in order to make that work (again), we need to use our own libsignal_jni.so for the x86_64 build. see #412
24 lines
580 B
Diff
24 lines
580 B
Diff
diff --git a/build.gradle.kts b/build.gradle.kts
|
|
index 0d89c075..fda49332 100644
|
|
--- a/build.gradle.kts
|
|
+++ b/build.gradle.kts
|
|
@@ -43,6 +43,7 @@ dependencies {
|
|
implementation(libs.slf4j.jul)
|
|
implementation(libs.logback)
|
|
implementation(project(":lib"))
|
|
+ implementation(files("/tmp/libsignal-client.jar"))
|
|
}
|
|
|
|
configurations {
|
|
@@ -51,6 +52,10 @@ configurations {
|
|
}
|
|
}
|
|
|
|
+configurations.all {
|
|
+ exclude(group = "org.signal", module = "libsignal-client")
|
|
+}
|
|
+
|
|
|
|
tasks.withType<AbstractArchiveTask>().configureEach {
|
|
isPreserveFileTimestamps = false
|