mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2025-09-02 13:56:59 +00:00
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
This commit is contained in:
3
Makefile
3
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
|
||||
|
||||
|
Reference in New Issue
Block a user