$OpenBSD: patch-configure,v 1.2 2010/12/06 08:24:36 shadchin Exp $ --- configure.orig Wed Jul 14 09:43:16 2010 +++ configure Sat Dec 4 16:36:13 2010 @@ -3248,9 +3248,9 @@ $as_echo "Solaris" >&6; } $as_echo "OpenBSD" >&6; } LIB_CPPFLAGS='-DPIC' LIB_CFLAGS='-fPIC' - LIB_LDFLAGS='-shared -fPIC' + LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}' LIB_PREFIX='lib' - LIB_SUFFIX='.so.${LIB_MAJOR}.${LIB_MINOR}' + LIB_SUFFIX='.so' LDFLAGS_RPATH='-Wl,-rpath,${libdir}' PLUGIN_CPPFLAGS='-DPIC' PLUGIN_CFLAGS='-fPIC'