gsm: support for cross-compilation
This commit is contained in:
parent
0e7717cb1c
commit
7ad8fdca00
@ -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…
Reference in New Issue
Block a user