fix build for osx
This commit is contained in:
@@ -12,7 +12,12 @@ incdir := $(prefix)/include
|
|||||||
|
|
||||||
all: $(LIBNAME) libnethogs.a
|
all: $(LIBNAME) libnethogs.a
|
||||||
|
|
||||||
|
ifeq ($(UNAME_S),Darwin)
|
||||||
|
LDFLAGS:= -shared -Wl,-install_name,$(SO_NAME)
|
||||||
|
else
|
||||||
LDFLAGS:= -shared -Wl,-soname,$(SO_NAME)
|
LDFLAGS:= -shared -Wl,-soname,$(SO_NAME)
|
||||||
|
endif
|
||||||
|
|
||||||
CXXINCLUDES :=
|
CXXINCLUDES :=
|
||||||
VISIBILITY=-fvisibility=hidden
|
VISIBILITY=-fvisibility=hidden
|
||||||
ODIR_BASE := obj
|
ODIR_BASE := obj
|
||||||
|
|||||||
Reference in New Issue
Block a user