Unverified Commit 76404a99 authored by tomberek's avatar tomberek Committed by GitHub
Browse files

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

cyrus_sasl: fix building with llvm
parents de9e84d8 fbdfccfb
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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" ];