Fix condition

This commit is contained in:
Hajimu UMEMOTO
2016-05-16 15:10:58 +09:00
parent a359d1bbd4
commit d5ac7db5a7

View File

@@ -10,7 +10,7 @@ all: $(LIBNAME) libnethogs.a
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
LDFLAGS:= -shared -Wl,-soname,$(SO_NAME)
else ($(UNAME_S),FreeBSD)
else ifeq ($(UNAME_S),FreeBSD)
LDFLAGS:= -shared -Wl,-soname,$(SO_NAME)
else
LDFLAGS:= -shared -Wl,-install_name,$(SO_NAME)