--- Makefile.orig 2023-02-17 12:01:34 UTC +++ Makefile @@ -5,11 +5,7 @@ LIBS = blas/blas.a #LIBS = -lblas SHVER = 5 OS = $(shell uname) -ifeq ($(OS),Darwin) - SHARED_LIB_FLAG = -dynamiclib -Wl,-install_name,liblinear.so.$(SHVER) -else - SHARED_LIB_FLAG = -shared -Wl,-soname,liblinear.so.$(SHVER) -endif +SHARED_LIB_FLAG = -shared -Wl,-soname,liblinear.so.$(SHVER) all: train predict