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>2011-11-06 20:46:11 +0400
committerrofl0r <retnyg@gmx.net>2011-11-06 20:46:11 +0400
commit41e73ab58d2fa2bf047b93fd88d65e4a888836e6 (patch)
treeba5aff76efb92de80b6145a9191cd55f50a441ef /Makefile
parentd5ae1f92026a0613ae8794ab8681fe238b4ac40e (diff)
fix realloc and add a layer of threadsafety upon dns-list accesses
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4623adb..6222f48 100644
--- a/Makefile
+++ b/Makefile
@@ -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