davix: fix build on darwin
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
curl,
|
||||
gsoap,
|
||||
rapidjson,
|
||||
zlib,
|
||||
enableTools ? true,
|
||||
# Use libcurl instead of libneon
|
||||
# Note that the libneon used is bundled in the project
|
||||
@@ -39,6 +40,7 @@ stdenv.mkDerivation rec {
|
||||
libxml2
|
||||
openssl
|
||||
rapidjson
|
||||
zlib
|
||||
]
|
||||
++ lib.optional (!stdenv.hostPlatform.isDarwin) libuuid
|
||||
++ lib.optional enableThirdPartyCopy gsoap;
|
||||
@@ -74,6 +76,9 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
# Transitive dependency of gsoap (only supports static library builds)
|
||||
env.NIX_LDFLAGS = "-lz";
|
||||
|
||||
meta = {
|
||||
description = "Toolkit for Http-based file management";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user