fix for mac build error

closes #6
This commit is contained in:
rofl0r
2012-12-16 02:39:28 +01:00
parent 5ecd5ac51d
commit ab4fb353b6
2 changed files with 3 additions and 1 deletions

View File

@ -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