summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-10-05 04:30:59 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-10-05 19:10:37 (GMT)
commit313e735a68b691827eb17d4486957d52ab8c7630 (patch)
tree8c869abf39d02a4dc1f46c510b7bd0addf743e1a
parent2bec016d99d66722b1d9527dc8acf7c6388f298e (diff)
downloadbuildroot-313e735a68b691827eb17d4486957d52ab8c7630.tar.gz
buildroot-313e735a68b691827eb17d4486957d52ab8c7630.tar.bz2
proxychains-ng: needs dynamic library support
Fix below build error if BR2_PREFER_STATIC_LIB is set: src/libproxychains.c:34:19: fatal error: dlfcn.h: No such file or directory compilation terminated. make[1]: *** [src/libproxychains.o] Error 1 In additional, the README file also mentions that this program works only on dynamically linked programs. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/proxychains-ng/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/proxychains-ng/Config.in b/package/proxychains-ng/Config.in
index 99e49bd..97eaa0c 100644
--- a/package/proxychains-ng/Config.in
+++ b/package/proxychains-ng/Config.in
@@ -1,10 +1,11 @@
config BR2_PACKAGE_PROXYCHAINS_NG
bool "proxychains-ng"
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_PREFER_STATIC_LIB
help
Force any tcp connections to flow through a proxy (or proxy chain)
https://github.com/rofl0r/proxychains
-comment "proxychains-ng needs a toolchain with thread support"
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "proxychains-ng needs a toolchain with thread and dynamic library support"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB