Commit a296ce68 authored by mz-fuzzy's avatar mz-fuzzy

configure - fix of wrong soname to respect major library version

.gitignore update
parent eaf989d3
...@@ -13,5 +13,12 @@ out_native/ ...@@ -13,5 +13,12 @@ out_native/
version.h version.h
Session.vim Session.vim
*.so *.so
*.so.*
*.dylib *.dylib
*.dylib.*
.DS_Store .DS_Store
Makefile.inc
utility/includes.h
examples_linux/*
!examples_linux/**/
!examples_linux/*.*
...@@ -398,11 +398,11 @@ fi ...@@ -398,11 +398,11 @@ fi
case ${OS} in case ${OS} in
LINUX) LINUX)
DYN_SUFFIX=so DYN_SUFFIX=so
SHARED_LINKER_FLAGS+=" -shared -Wl,-soname,lib${LIB}.${DYN_SUFFIX}" SHARED_LINKER_FLAGS+=" -shared -Wl,-soname,lib${LIB}.${DYN_SUFFIX}.${LIB_VERSION%%.*}"
;; ;;
DARWIN) DARWIN)
DYN_SUFFIX=dylib DYN_SUFFIX=dylib
SHARED_LINKER_FLAGS+=" -dynamiclib -install_name ${LIB_DIR}/lib${LIB}.${DYN_SUFFIX}" SHARED_LINKER_FLAGS+=" -dynamiclib -install_name ${LIB_DIR}/lib${LIB}.${DYN_SUFFIX}.${LIB_VERSION%%.*}"
;; ;;
*) *)
die "Unsupported OS: ${OS}." 3 die "Unsupported OS: ${OS}." 3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment