Open steveej opened 1 year ago
The command ./gradlew build
(or similar for Nix) will build libdecsync for Android. For Linux you need to execute ./gradlew linkReleaseSharedLinuxX64
, which creates the necessary files in build/bin/linuxX64/releaseShared
. You maybe also need src/linuxMain/libdecsync.h
and src/linuxMain/decsync.pc.in
(with the prefix substituted). This is also basically what the Makefile does. When I try to execute the Makefile without the android SDK it does work.
i'm working on packaging DecSync-Evolution (and libdecsync) for Nix, and i'm running into a situation that hasn't previously been reported.
in the Nix build i try not to use gradlew but instead use nixpkgs' gradle version.
the following build log is produced by the following command, which has gradle v6 and jdk8 in its PATH:
build log:
is it expected that the build requires the Android SDK? if so, is there a way to circumvent that in case i want to only build the shared object to be used by the plugin for Evolution?