mirror of
https://github.com/pimalaya/himalaya.git
synced 2024-12-09 21:18:39 +03:00
add libunwind
This commit is contained in:
@@ -54,6 +54,7 @@ let
|
||||
pkg-config = pkgs.pkg-config;
|
||||
buildNoDefaultFeatures = !defaultFeatures;
|
||||
buildFeatures = lib.strings.splitString "," features;
|
||||
libunwind = pkgs.libunwind;
|
||||
};
|
||||
|
||||
# HACK: https://github.com/NixOS/nixpkgs/issues/177129
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, libunwind
|
||||
, pkg-config
|
||||
, rustPlatform
|
||||
, windows
|
||||
@@ -31,10 +32,11 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
NIX_LDFLAGS = lib.optionals (stdenv.hostPlatform.isWindows && stdenv.hostPlatform.isi686) [
|
||||
"-L${windows.mcfgthreads}/lib"
|
||||
"-L${libunwind}/lib"
|
||||
# "-L${windows.mingwrt}/lib"
|
||||
#"-L${windows.w32api}/lib"
|
||||
"-lmcfgthread"
|
||||
#"-lunwind"
|
||||
"-lunwind"
|
||||
];
|
||||
|
||||
# unit tests only
|
||||
|
||||
Reference in New Issue
Block a user