dante: fix package under Linux
This commit is contained in:
parent
41d921292e
commit
a2169c31fe
|
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ pam libkrb5 cyrus_sasl miniupnpc ];
|
||||
|
||||
configureFlags = ["--with-libc=libc${stdenv.targetPlatform.extensions.sharedLibrary}"];
|
||||
configureFlags = if !stdenv.isDarwin
|
||||
then [ "--with-libc=libc.so.6" ]
|
||||
else [ "--with-libc=libc${stdenv.targetPlatform.extensions.sharedLibrary}" ];
|
||||
|
||||
dontAddDisableDepTrack = stdenv.isDarwin;
|
||||
|
||||
|
|
Loading…
Reference in a new issue