sdcv: fix build on darwin (close #744)
* add -lintl flag to NIX_CFLAGS_COMPILE
This commit is contained in:
parent
2762b0667d
commit
b43d1c014a
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's/guint32 page_size/size_t page_size/' src/lib/lib.cpp
|
sed -i 's/guint32 page_size/size_t page_size/' src/lib/lib.cpp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__";
|
NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__"
|
||||||
|
+ stdenv.lib.optionalString stdenv.isDarwin " -lintl";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user