deluge: fix build on darwin (close #930)
This commit is contained in:
parent
9767a725cc
commit
2a73189a9c
|
@ -11,4 +11,6 @@ stdenv.mkDerivation {
|
|||
buildInputs = [ pkgconfig gtk python gettext ];
|
||||
|
||||
propagatedBuildInputs = [ libxml2 ];
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||
}
|
||||
|
|
|
@ -4919,7 +4919,12 @@ let
|
|||
|
||||
libtommath = callPackage ../development/libraries/libtommath { };
|
||||
|
||||
libtorrentRasterbar = callPackage ../development/libraries/libtorrent-rasterbar { };
|
||||
libtorrentRasterbar = callPackage ../development/libraries/libtorrent-rasterbar {
|
||||
# fix "unrecognized option -arch" error
|
||||
stdenv = if stdenv.isDarwin
|
||||
then clangStdenv
|
||||
else stdenv;
|
||||
};
|
||||
|
||||
libtunepimp = callPackage ../development/libraries/libtunepimp { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue