From 20e461151de9d4ec685dd7f6e12641e0cc5234e3 Mon Sep 17 00:00:00 2001 From: Vulpes Vulpes <75497157+vulpes9@users.noreply.github.com> Date: Fri, 22 Apr 2022 19:06:55 +0200 Subject: [PATCH] We are already in the java directory, so sed cannot find settings.gradle if you put a superfluous java/settings.gradle --- Provide-native-lib-for-libsignal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Provide-native-lib-for-libsignal.md b/Provide-native-lib-for-libsignal.md index 3bf66a7..7aaa114 100644 --- a/Provide-native-lib-for-libsignal.md +++ b/Provide-native-lib-for-libsignal.md @@ -44,7 +44,7 @@ Once everything is setup, navigate to the root of the libsignal-client codebase: ```sh $ cd java $ # Prevent building the android library -$ sed -i "s/include ':android'//" java/settings.gradle +$ sed -i "s/include ':android'//" settings.gradle $ ./build_jni.sh desktop ``` Then the native lib can be found in the libsignal-client sub-directory: `target/release/libsignal_jni.so` (the file extension will be `.dylib` on MacOS and `.dll` on Windows, instead of `.so`).