37aee9
diff -Naur bacula-7.0.4.old/autoconf/ltmain.sh bacula-7.0.4/autoconf/ltmain.sh
37aee9
--- bacula-7.0.4.old/autoconf/ltmain.sh	2014-07-24 17:43:23.085243360 +0200
37aee9
+++ bacula-7.0.4/autoconf/ltmain.sh	2014-07-24 17:45:12.505330842 +0200
37aee9
@@ -2429,6 +2429,7 @@
37aee9
   -R[ ]LIBDIR       add LIBDIR to the runtime path of programs and libraries
37aee9
   -shared           only do dynamic linking of libtool libraries
37aee9
   -shrext SUFFIX    override the standard shared library file extension
37aee9
+  -soname SONAME    override the standard shared object name
37aee9
   -static           do not do any dynamic linking of uninstalled libtool libraries
37aee9
   -static-libtool-libs
37aee9
                     do not do any dynamic linking of libtool libraries
37aee9
@@ -5434,6 +5435,11 @@
37aee9
 	  prev=
37aee9
 	  continue
37aee9
 	  ;;
37aee9
+	soname)
37aee9
+	  soname_spec="$arg"
37aee9
+	  prev=
37aee9
+	  continue
37aee9
+	  ;;
37aee9
 	weak)
37aee9
 	  func_append weak_libs " $arg"
37aee9
 	  prev=
37aee9
@@ -5754,6 +5760,11 @@
37aee9
 	continue
37aee9
 	;;
37aee9
 
37aee9
+      -soname)
37aee9
+   prev=soname
37aee9
+   continue
37aee9
+   ;;
37aee9
+
37aee9
       -static | -static-libtool-libs)
37aee9
 	# The effects of -static are defined in a previous loop.
37aee9
 	# We used to do the same as -all-static on platforms that