Skip to content

Commit

Permalink
nix: add rustflags for soname
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobsonchase committed Aug 20, 2024
1 parent 33eaa83 commit c7b5654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@
CHALK_SOLVER_MAX_SIZE = 1500;
OPENSSL_LIB_DIR = "${pkgs.openssl.out}/lib";
OPENSSL_INCLUDE_DIR = "${pkgs.openssl.dev}/include";
RUSTC_WRAPPER="${pkgs.sccache}/bin/sccache";
RUSTC_WRAPPER = "${pkgs.sccache}/bin/sccache";
JAVA_11_HOME = "${pkgs.openjdk11_headless}";
JAVA_17_HOME = "${pkgs.openjdk17_headless}";
RUSTFLAGS = "-C link-arg=-Wl,-soname,libngrok_java.so";
buildInputs = with pkgs; [
rust-toolchain
java-toolchain
Expand Down

0 comments on commit c7b5654

Please sign in to comment.