diff options
author | rofl0r <retnyg@gmx.net> | 2012-12-16 05:39:28 +0400 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-12-18 12:42:17 +0400 |
commit | ab4fb353b6d45a99f34d5fda4395264a17e262e0 (patch) | |
tree | 683576e6fbdb26a268e7df09b1a7ea23367b333b /Makefile | |
parent | 5ecd5ac51dcb8c9f60eefc7ec415bcc3bb765cf6 (diff) |
fix for mac build error
closes #6
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |