make usock generic

This commit is contained in:
Felix Fietkau 2010-12-04 23:09:20 +01:00
parent cc130e9c3f
commit 62c3e67616

View file

@ -9,9 +9,9 @@ LIBDIR=$(PREFIX)/lib
CPPFLAGS= CPPFLAGS=
OS=$(shell uname) OS=$(shell uname)
FILES=blob.c blobmsg.c hash.c uhtbl.c FILES=blob.c blobmsg.c hash.c uhtbl.c usock.c
ifeq ($(OS),Linux) ifeq ($(OS),Linux)
FILES += usock.c uloop.c unl.c FILES += uloop.c unl.c
LIBS += $(LIBNL) LIBS += $(LIBNL)
LDFLAGS_SHARED=-shared -Wl,-soname,$@ LDFLAGS_SHARED=-shared -Wl,-soname,$@
SHLIB_EXT=so SHLIB_EXT=so