indeed fix talloc build on darwin

svn path=/nixpkgs/trunk/; revision=29431
This commit is contained in:
Florian Friesdorf 2011-09-21 23:31:51 +00:00
parent ad3d180d6f
commit cadbee1ab1

View File

@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
configureFlags = "--enable-talloc-compat1 --enable-largefile";
patchPhase = if stdenv.isDarwin then ''
# https://bugzilla.samba.org/show_bug.cgi?id=7000
postConfigure = if stdenv.isDarwin then ''
substituteInPlace "Makefile" --replace "SONAMEFLAG = #" "SONAMEFLAG = -install_name"
'' else "";