gsm: support for cross-compilation

launchpad/nixpkgs/master
Rick van Schijndel 3 years ago committed by Frederik Rietdijk
parent 0e7717cb1c
commit 7ad8fdca00
  1. 2
      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) (

Loading…
Cancel
Save