mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-26 23:10:32 +00:00
fix soname to use CS_API_MAJOR for library versioning (linux)
This commit is contained in:
parent
56db6390ec
commit
a5f42cf59e
2
Makefile
2
Makefile
@ -178,7 +178,7 @@ else
|
||||
# Linux, *BSD
|
||||
EXT = so
|
||||
AR_EXT = a
|
||||
API_MAJOR=$(shell echo `grep -e CS_API_MAJOR include/capstone.h | grep -v = | awk '{print $$2}'` | awk '{print $$1}')
|
||||
API_MAJOR=$(shell echo `grep -e CS_API_MAJOR include/capstone.h | grep -v = | awk '{print $$3}'` | awk '{print $$1}')
|
||||
|
||||
LDFLAGS += -Wl,-soname,lib$(LIBNAME)$(API_MAJOR)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user