mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03: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";
|
configureFlags = "--enable-talloc-compat1 --enable-largefile";
|
||||||
|
|
||||||
|
patchPhase = if stdenv.isDarwin then ''
|
||||||
|
substituteInPlace "Makefile" --replace "SONAMEFLAG = #" "SONAMEFLAG = -install_name"
|
||||||
|
'' else "";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "talloc is a hierarchical pool based memory allocator with destructors";
|
description = "talloc is a hierarchical pool based memory allocator with destructors";
|
||||||
homepage = http://tdb.samba.org/;
|
homepage = http://tdb.samba.org/;
|
||||||
|
Loading…
Reference in New Issue
Block a user