1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

proxychains: fix build, add -ldl to LDFLAGS

Closes #20355
This commit is contained in:
roxma 2016-11-25 03:30:11 +00:00 committed by Joachim Fasting
parent ea743a97f5
commit 78f81c5bac

View file

@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
sha256 = "015skh3z1jmm8kxbm3nkqv1w56kcvabdmcbmpwzywxr4xnh3x3pc";
};
postPatch = ''
# Temporary work-around; most likely fixed by next upstream release
sed -i Makefile -e '/-lpthread/a LDFLAGS+=-ldl'
'';
meta = {
description = "Proxifier for SOCKS proxies";
homepage = http://proxychains.sourceforge.net;