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-16 05:39:28 +0400
committerrofl0r <retnyg@gmx.net>2012-12-18 12:42:17 +0400
commitab4fb353b6d45a99f34d5fda4395264a17e262e0 (patch)
tree683576e6fbdb26a268e7df09b1a7ea23367b333b /Makefile
parent5ecd5ac51dcb8c9f60eefc7ec415bcc3bb765cf6 (diff)
fix for mac build error
closes #6
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a814539..6b6b2f2 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,8 @@ LOBJS = src/nameinfo.o \
src/hostentdb.o src/hash.o
CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe
-LDFLAGS = -shared -fPIC -Wl,--no-as-needed -ldl -lpthread
+NO_AS_NEEDED = -Wl,--no-as-needed
+LDFLAGS = -shared -fPIC $(NO_AS_NEEDED) -ldl -lpthread
INC =
PIC = -fPIC
AR = $(CROSS_COMPILE)ar