[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] [OT] Fwd: libsndfile .28 patch



If anyone cares... here's how to fix libsndfile source to compile on MOSX.

- ian

Begin forwarded message:

From: Erik de Castro Lopo <erikd@xxxxxxxxxx>
Date: Tue Jun 18, 2002  03:31:16 PM US/Central
To: Ian Pojman <ipojman@xxxxxxxxxxxxxx>
Subject: Re: libsndfile

On Tue, 18 Jun 2002 09:45:32 -0500
Ian Pojman <ipojman@xxxxxxxxxxxxxx> wrote:

Hey dude.

Just having some making problems on darwin with libsndfile.. any ideas
what this is?

Sorry, blame Apple :-)

Apply this patch (you'll have to do it by hand I'm afraid) to ltman.sh
in the top level directory and it should compile correctly.

Version 1.0.0 is out RealSoonNow (tm) and since I now have an iBook (had
if 2 weeks) for testing, OS X / Darwin will work straight out of the box.

Cheers,
Erik
--------------------------- snip -------------------------------

--- ltmain.sh.old       2002-04-27 00:01:23.000000000 -0400
+++ ltmain.sh   2002-04-27 00:01:45.000000000 -0400
@@ -2894,7 +2894,18 @@
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
+       tmp_deplibs=
+       for test_deplib in $deplibs; do
+         if test "$test_deplib" != "$conv"; then
+           tmp_deplibs="$tmp_deplibs $test_deplib"
+         fi
+       done
+       deplibs="$tmp_deplibs"
+         done
          eval cmds=\"$archive_cmds\"
+         deplibs="$save_deplibs"
        fi
        save_ifs="$IFS"; IFS='~'
        for cmd in $cmds; do

--------------------------- unsnip -------------------------------


--
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@xxxxxxxxxxxxx (Yes it's valid)
+-----------------------------------------------------------+
"If you don't know what you need Windows NT for, you don't need it."
  - Bill Gates