attempt to fix talloc build on darwin

see: https://bugzilla.samba.org/show_bug.cgi?id=7000

svn path=/nixpkgs/trunk/; revision=29430
This commit is contained in:
Florian Friesdorf 2011-09-21 23:23:12 +00:00
parent 113f2c851f
commit ad3d180d6f

View file

@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
configureFlags = "--enable-talloc-compat1 --enable-largefile";
patchPhase = if stdenv.isDarwin then ''
substituteInPlace "Makefile" --replace "SONAMEFLAG = #" "SONAMEFLAG = -install_name"
'' else "";
meta = {
description = "talloc is a hierarchical pool based memory allocator with destructors";
homepage = http://tdb.samba.org/;