libdvbpsi doesn't compile under OS X

Arnaud de Bossoreille de Ribou bozo at via.ecp.fr
Sat Apr 20 16:37:49 CEST 2002


On Fri, Apr 12, 2002, Arnaud de Bossoreille de Ribou wrote:
> It looks like a bug of the libtool script because it appears only once in
> the command line.
> 
> I'm going to investigate this, maybe we should link to all the .lo files
> instead of the .la file.

I was right. If you want some more information here are 3 links:

[1] A discussion about the bug and patches
[2] The last patch record on savannah.
[3] The patch itself.

  1. http://savannah.gnu.org/support/?func=detailsupport&support_id=100049&group_id=25
  2. http://savannah.gnu.org/patch/?func=detailpatch&patch_id=111&group_id=25
  3. http://savannah.gnu.org/patch/download.php?id=111

I've attached the patch that could apply to libdvbpsi's tree. I won't
check it in because the discussion isn't closed. By the way it has not
been checked in the libtool tree and the latest script coming from it
doesn't work on my computer for other dark reasons.

I suggest people use the attached patch until a new official version of
libtool is released.

-- 
Arnaud de Bossoreille de Ribou - http://www.via.ecp.fr/~bozo/
-------------- next part --------------
Index: ltmain.sh
===================================================================
RCS file: /cvs/videolan/libdvbpsi/ltmain.sh,v
retrieving revision 1.1
diff -u -r1.1 ltmain.sh
--- ltmain.sh	2002/01/07 18:30:35	1.1
+++ ltmain.sh	2002/04/20 14:34:28
@@ -2931,7 +2931,12 @@
 	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
 	  eval cmds=\"$archive_expsym_cmds\"
 	else
+	  save_deplibs="$deplibs"
+	  for conv in $convenience; do
+	    deplibs="${deplibs%$conv*} ${deplibs#*$conv}"
+	  done
 	  eval cmds=\"$archive_cmds\"
+	  deplibs="$save_deplibs"
 	fi
 	save_ifs="$IFS"; IFS='~'
 	for cmd in $cmds; do


More information about the libdvbpsi-devel mailing list