Merge pull request #8658 from benley/iftop-darwin
iftop: fix Darwin build
This commit is contained in:
commit
6d99ecf300
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# Explicitly link against libgcc_s, to work around the infamous
|
||||
# "libgcc_s.so.1 must be installed for pthread_cancel to work".
|
||||
LDFLAGS = "-lgcc_s";
|
||||
LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
preConfigure = ''
|
||||
cp ${automake}/share/automake*/config.{sub,guess} config
|
||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = http://ex-parrot.com/pdw/iftop/;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.mornfall ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue