openbsd: Add minor number to shared library install name
authorDiego Biurrun <diego@biurrun.de>
Sun, 3 Feb 2013 14:02:31 +0000 (15:02 +0100)
committerDiego Biurrun <diego@biurrun.de>
Mon, 11 Feb 2013 19:17:15 +0000 (20:17 +0100)
This is what the OpenBSD porter's manual describes as correct, cf.
http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs

configure

index 0731c27..453d25c 100755 (executable)
--- a/configure
+++ b/configure
@@ -2860,7 +2860,7 @@ case $target_os in
     openbsd|bitrig)
         disable symver
         SHFLAGS='-shared'
-        SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBVERSION)'
+        SLIB_INSTALL_NAME='$(SLIBNAME).$(LIBMAJOR).$(LIBMINOR)'
         SLIB_INSTALL_LINKS=
         oss_indev_extralibs="-lossaudio"
         oss_outdev_extralibs="-lossaudio"