diff --git a/Makefile b/Makefile index e4780e11..982389ef 100644 --- a/Makefile +++ b/Makefile @@ -195,7 +195,7 @@ else # Linux, *BSD EXT = so AR_EXT = a -LDFLAGS += -Wl,-soname=libcapstone2,$(LIBRARY) +LDFLAGS += -Wl,-soname,lib$(LIBNAME)$(PKG_MAJOR) endif endif endif