Merge pull request #334780 from ExpidusOS/fix/pkgsllvm/cyrus_sasl

cyrus_sasl: fix building with llvm
This commit is contained in:
tomberek
2024-08-16 02:17:13 -04:00
committed by GitHub
@@ -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" ];