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