Michael Koch wrote:
> I have debugged this a bit. The problem seems to be with libtool usage.
> As one can see above "-shared" is given to libtool but its not in the
> g++ command line invoked by libtool. This is reproducible with libtool
> 2.2.6a-4. With libtool 1.5.26-4 this behavior is not reprodicable
> and the package builds fine.

To fix this problem you need to call libtool with `-Xcompiler -shared'
instead of only `-shared'. 

So in noise/src/Makefile, line 20 should be:
        $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -Xcompiler -shared 
-Wl,-soname=libnoise.so.0 -o $@ $(OBJECTS:.o=.lo)

instead of:
        $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -shared 
-Wl,-soname=libnoise.so.0 -o $@ $(OBJECTS:.o=.lo)



At least this works for me, on my Arch Linux box.

-- 
Vincent Cappe





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to