$OpenBSD: patch-common_Makefile_in,v 1.1 2018/11/19 08:24:23 ajacoutot Exp $

GNU libtool says:
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
crypto_compat_version is not defined which makes our libtool(1)
exit with an error, so just drop things that should be ignored
See: https://www.gnu.org/software/libtool/manual/html_node/Static-libraries.html

Index: common/Makefile.in
--- common/Makefile.in.orig
+++ common/Makefile.in
@@ -431,10 +431,10 @@ plugin_common_version = 3:0:0
 AM_CPPFLAGS = -fPIC -I$(top_srcdir)/include -I$(top_builddir)/include
 noinst_LTLIBRARIES = libplugin_common.la libcrypto_compat.la
 libplugin_common_la_SOURCES = plugin_common.c plugin_common.h
-libplugin_common_la_LDFLAGS = -version-info $(plugin_common_version) -no-undefined
+libplugin_common_la_LDFLAGS = -no-undefined
 libplugin_common_la_LIBADD = $(LIB_SOCKET)
 libcrypto_compat_la_SOURCES = crypto-compat.c crypto-compat.h
-libcrypto_compat_la_LDFLAGS = -version-info $(crypto_compat_version) -no-undefined
+libcrypto_compat_la_LDFLAGS = -no-undefined
 all: all-am
 
 .SUFFIXES:
