FreeBSD support

This commit is contained in:
rofl0r
2012-12-25 19:08:05 +01:00
parent be4efc0fd5
commit 5526afb56d
3 changed files with 15 additions and 2 deletions

View File

@ -22,7 +22,8 @@ LOBJS = src/nameinfo.o \
CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe
NO_AS_NEEDED = -Wl,--no-as-needed
LDFLAGS = -shared -fPIC $(NO_AS_NEEDED) -ldl -lpthread
LIBDL = -ldl
LDFLAGS = -shared -fPIC $(NO_AS_NEEDED) $(LIBDL) -lpthread
INC =
PIC = -fPIC
AR = $(CROSS_COMPILE)ar