mirror of
https://github.com/soywod/himalaya.git
synced 2025-04-19 15:53:39 +00:00
add libunwind
This commit is contained in:
parent
98715db67b
commit
5a1a835791
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue