Skip to content

Commit

Permalink
proxychains: fix build, add -ldl to LDFLAGS
Browse files Browse the repository at this point in the history
Closes #20355
  • Loading branch information
roxma authored and joachifm committed Nov 25, 2016
1 parent ea743a9 commit 78f81c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/tools/networking/proxychains/default.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 78f81c5

Please sign in to comment.