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