Merge pull request #334780 from ExpidusOS/fix/pkgsllvm/cyrus_sasl
cyrus_sasl: fix building with llvm
This commit is contained in:
@@ -41,7 +41,11 @@ stdenv.mkDerivation rec {
|
||||
"--with-saslauthd=/run/saslauthd"
|
||||
"--enable-login"
|
||||
"--enable-shared"
|
||||
] ++ lib.optional enableLdap "--with-ldap=${openldap.dev}";
|
||||
] ++ lib.optional enableLdap "--with-ldap=${openldap.dev}"
|
||||
++ lib.optionals (stdenv.targetPlatform.useLLVM or false) [
|
||||
"--disable-sample"
|
||||
"CFLAGS=-DTIME_WITH_SYS_TIME"
|
||||
];
|
||||
|
||||
installFlags = lib.optionals stdenv.isDarwin [ "framedir=$(out)/Library/Frameworks/SASL2.framework" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user