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