mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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:
parent
113f2c851f
commit
ad3d180d6f
@ -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/;
|
||||
|
Loading…
Reference in New Issue
Block a user