Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-12-18 01:17:00 +0400
committerrofl0r <retnyg@gmx.net>2012-12-18 01:17:04 +0400
commitce655fdac82ed843b94a1f1a176475e9dbe432c1 (patch)
tree494b310ebefe642738cd20babb6d958de6c87fc3 /Makefile
parentb255484a427b624986684fe200b406843b00c332 (diff)
fix the never-ending issues with the wrong glibc prototype of getnameinfo
this bug was fixed shortly before 2.14 release, so we checked for that. however some distros decided to backport this fix to earlier versions, breaking our compiletime check. http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=e4ecafe004b3d4270b3a9dace8f970047400ed38 the portable solution is to stick the function into a separate comilation unit that does not see the glibc prototype. closes #7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 481d904..a814539 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ sysconfdir=$(prefix)/etc
SRCS = $(sort $(wildcard src/*.c))
OBJS = $(SRCS:.c=.o)
-LOBJS = src/core.o src/common.o src/libproxychains.o src/shm.o \
+LOBJS = src/nameinfo.o \
+ src/core.o src/common.o src/libproxychains.o src/shm.o \
src/allocator_thread.o src/ip_type.o src/stringdump.o \
src/hostentdb.o src/hash.o