indeed fix talloc build on darwin
svn path=/nixpkgs/trunk/; revision=29431
This commit is contained in:
parent
ad3d180d6f
commit
cadbee1ab1
@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = "--enable-talloc-compat1 --enable-largefile";
|
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"
|
substituteInPlace "Makefile" --replace "SONAMEFLAG = #" "SONAMEFLAG = -install_name"
|
||||||
'' else "";
|
'' else "";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user