diff --git a/Makefile b/Makefile index 85666acc..6a0b0331 100644 --- a/Makefile +++ b/Makefile @@ -178,7 +178,7 @@ else # Linux, *BSD EXT = so AR_EXT = a -LDFLAGS += -Wl,-soname=libcapstone2,$(LIBRARY) +LDFLAGS += -Wl,-soname,lib$(LIBNAME)$(PKG_MAJOR) endif endif endif