Merge pull request #4557 from pmahoney/talloc-darwin

talloc: Fix linker flags on darwin.
This commit is contained in:
Aristid Breitkreuz 2014-10-22 20:54:27 +02:00
commit f426de737c

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
# 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 = -Wl,-install_name,"
'' else "";
meta = {