Allow Dovecot to build with clucene, and on any Unix

This commit is contained in:
John Wiegley
2014-05-05 20:53:32 -05:00
parent 66bcd77f0e
commit 2f971193cc
2 changed files with 26 additions and 4 deletions
@@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
./Install-contribs-lib.patch
];
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -change libclucene-shared.1.dylib \
$out/lib/libclucene-shared.1.dylib \
$out/lib/libclucene-core.1.dylib
'';
meta = {
description = "Core library for full-featured text search engine";
longDescription = ''