aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-04-11 20:52:56 -0400
committerJack Lloyd <[email protected]>2018-04-11 20:52:56 -0400
commit9ff1a139da5b3c49db3bc3a82aa94773608edc67 (patch)
tree34a7bd20be5e17e55c8f638d28263e0b85a8db36 /src
parentbe1307661d4eea173458d24580e1039464c83753 (diff)
parentea9ad889a3c0f585c4f96b20c93961851d782c2e (diff)
Merge GH #1535 Don't create solib symlinks on OpenBSD
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>