diff options
author | Alexander Bluhm <[email protected]> | 2018-04-12 00:20:17 +0200 |
---|---|---|
committer | Alexander Bluhm <[email protected]> | 2018-04-12 02:08:16 +0200 |
commit | ea9ad889a3c0f585c4f96b20c93961851d782c2e (patch) | |
tree | d2a92ba4aaa7350f81575a1b1e10dd0b3411e0d6 /src/build-data/makefile.in | |
parent | 87c697920206ac7ab0f757d3ec0c5550defd2517 (diff) |
Do not create shared library symlinks on OpenBSD.
Symlinks to shared libraries confuse the OpenBSD dynamic linker.
We need one file with two numbers. The problem became apparent
when the abi_rev and the OpenBSD ports shared libs numbers diverged.
Add a new conditional variable symlink_shared_lib to suppress the
symlink in the makefile.
Diffstat (limited to 'src/build-data/makefile.in')
-rw-r--r-- | src/build-data/makefile.in | 2 |
1 files changed, 2 insertions, 0 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} |