bug-libtool
[Top][All Lists]
Advanced

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

Re: Distributing libltdl documentation


From: Andreas Schwab
Subject: Re: Distributing libltdl documentation
Date: Mon, 21 Apr 2008 00:45:15 +0200
User-agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (gnu/linux)

"Anton Ertl" <address@hidden> writes:

> - Gforth does not use automake, and it was not obvious how to link the
>   included libltdl.  I eventually settled on the following approach:
>   
>   In configure.in:
>   
>   #how to link with libltdl
>   if test "x$with_included_ltdl" = "xyes"; then
>     #hard-code it (hopefully portable); the official way is to use automake 
> :-(
>     LTDL_LDLIBS='-L $(top_builddir)/libltdl/.libs -lltdlc'
>   else
>     LTDL_LDLIBS='$(LIBLTDL)'
>   fi
>   AC_SUBST(LTDL_LDLIBS)

The value of $(LIBLTDL) is already the right one for use by libtool when
linking.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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