openbsd-ports/audio/audacious/patches/patch-m4_buildsys_m4
2009-09-15 21:49:01 +00:00

16 lines
550 B
Plaintext

$OpenBSD: patch-m4_buildsys_m4,v 1.2 2009/09/15 21:49:01 fgsch Exp $
--- m4/buildsys.m4.orig Sat Aug 1 15:26:59 2009
+++ m4/buildsys.m4 Sat Aug 1 15:27:59 2009
@@ -88,9 +88,9 @@ AC_DEFUN([BUILDSYS_SHARED_LIB], [
AC_MSG_RESULT(Solaris)
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'
PLUGIN_CPPFLAGS='-DPIC'
PLUGIN_CFLAGS='-fPIC'
PLUGIN_LDFLAGS='-shared -fPIC'