aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/build-data/makefile.in2
-rw-r--r--src/build-data/os/openbsd.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/build-data/makefile.in b/src/build-data/makefile.in
index 2039ade4e..d3e69642d 100644
--- a/src/build-data/makefile.in
+++ b/src/build-data/makefile.in
@@ -98,6 +98,8 @@ fuzzer_corpus_zip: fuzzer_corpus
%{out_dir}/%{shared_lib_name}: $(LIBOBJS)
%{lib_link_cmd} $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) %{output_to_exe}$@
+%{endif}
+%{if symlink_shared_lib}
cd %{out_dir} && ln -fs %{shared_lib_name} %{soname_base}
cd %{out_dir} && ln -fs %{shared_lib_name} %{soname_patch}
diff --git a/src/build-data/os/openbsd.txt b/src/build-data/os/openbsd.txt
index 5ba148e66..ad35da15b 100644
--- a/src/build-data/os/openbsd.txt
+++ b/src/build-data/os/openbsd.txt
@@ -1,6 +1,6 @@
soname_pattern_base "lib{libname}.so"
-soname_pattern_abi "lib{libname}.so.{abi_rev}"
+soname_pattern_abi "lib{libname}.so.{abi_rev}.{version_minor}"
soname_pattern_patch "lib{libname}.so.{abi_rev}.{version_minor}"
<target_features>