[Top][All Lists]

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

Re: passing parameters to libtool

From: Ralf Wildenhues
Subject: Re: passing parameters to libtool
Date: Tue, 30 May 2006 21:25:35 +0200
User-agent: Mutt/1.5.11+cvs20060403

* tchize wrote on Tue, May 30, 2006 at 09:15:43PM CEST:
> Yes, great, very fast thank you, i hope we can continue getting this
> fast :)
> But does not work :/

Yep, I wasn't paying attention: support for LIBTOOLFLAGS has been added
only in the CVS version of Automake, after 1.9.6.  :-/
Sorry about that.

> runtime called made by make
> /bin/sh ../../../libtool --tag=CC --mode=link gcc  -g -O2   -o
> check_shop  check_shop.o ../../../server/libserver.a
> ../../../common/libcross.a ../../../random_maps/librandom_map.a
> ../../../socket/libsocket.a ../../../server/libserver.a
> ../../../common/libcross.a ../../../random_maps/librandom_map.a
> ../../../socket/libsocket.a -ldl -lcheck -lcrypt -lm -lnsl
> You see , flag is not there! :)

Yeah, I guess then you'll either have to use CVS Automake, or hack you
way around this.  Different possibilities come to mind:

- write
LIBTOOL = @LIBTOOL@ --preserve-dup-deps

- write
        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
       $(LDFLAGS) -o $@

in (both untested; feedback appreciated).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]