1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-18 03:47:00 +08:00

fix realloc and add a layer of threadsafety upon dns-list accesses

This commit is contained in:
rofl0r
2011-11-06 17:46:11 +01:00
Unverified
parent d5ae1f9202
commit 41e73ab58d
4 changed files with 58 additions and 23 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ SRCS = $(sort $(wildcard src/*.c))
OBJS = $(SRCS:.c=.o)
LOBJS = $(OBJS:.o=.lo)
CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe
LDFLAGS = -shared -fPIC -ldl
CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe -DTHREAD_SAFE
LDFLAGS = -shared -fPIC -ldl -lpthread
INC =
PIC = -fPIC -O0
AR = $(CROSS_COMPILE)ar