From 7ad8fdca00135c735b607a90c47c24ba2096144a Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Sat, 27 Feb 2021 00:46:35 +0100 Subject: [PATCH] gsm: support for cross-compilation --- pkgs/development/libraries/gsm/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/gsm/default.nix b/pkgs/development/libraries/gsm/default.nix index 13088dda0c91..f70a748a20e7 100644 --- a/pkgs/development/libraries/gsm/default.nix +++ b/pkgs/development/libraries/gsm/default.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { }; patchPhase = '' + substituteInPlace Makefile \ + --replace "= gcc " "?= gcc " # Fix include directory sed -e 's,$(GSM_INSTALL_ROOT)/inc,$(GSM_INSTALL_ROOT)/include/gsm,' -i Makefile '' + optionalString (!staticSupport) (