Moin,

during compilation of multisync I noticed a problem with libtool:
I used version 1.5.2 until recently, and upgraded to 1.5.6 a few days ago.
If you look at 
http://savannah.gnu.org/cgi-bin/viewcvs/libtool/libtool/ChangeLog.diff?r1=1.1220.2.90%3Arelease-1-5-4&r2=1.1220.2.95%3Areleas%0Ae-1-5-6&diff_format=h

you will see a small comment in the changelog of libtool:
        * ltdl.m4: Rename shrext to shrext_cmds here too.


The effect: all plugin-libraries are build without the '.so' suffix.
Well, I'm not a libtool expert, but I've added a small patch that fixes the
problem.
It's far from perfect, because it should would be better to check the
libtool version, but it should show where the problems are.

If anyone has a better solution - just say so.
Patch is agains version 0.82 - I can't reach the cvs currently, sorry.

        ciao,
          Stefan
-- 
Stefan Behlert
--- multisync-0.82.orig/ltmain.sh       2004-04-12 23:03:02.000000000 +0200
+++ multisync-0.82/ltmain.sh    2004-05-04 09:56:35.045693344 +0200
@@ -1316,7 +1316,7 @@
         ;;
 
       -shrext)
-       prev=shrext
+       prev=shrext_cmds
        continue
        ;;
 
@@ -2749,7 +2749,7 @@
       case $outputname in
       lib*)
        name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
-       eval shared_ext=\"$shrext\"
+       eval shared_ext=\"$shrext_cmds\"
        eval libname=\"$libname_spec\"
        ;;
       *)
@@ -3517,7 +3517,7 @@
        fi
 
        # Get the real and link names of the library.
-       eval shared_ext=\"$shrext\"
+       eval shared_ext=\"$shrext_cmds\"
        eval library_names=\"$library_names_spec\"
        set dummy $library_names
        realname="$2"

Reply via email to