Re: linking with pkg-config and autoconf
- From: rob page <page rob gmail com>
- To: Dieter Lunn <dlunn mts net>
- Cc: gtkmm-list gnome org
- Subject: Re: linking with pkg-config and autoconf
- Date: Mon, 2 May 2005 23:18:30 +0000
Oops, an addition to my Makefile.am that might be important, i'm
afraid i don't know what it does, :S..... I don't think the tutorial I
was using explained it...
amyedit_LDAA = $(AMYEDIT_LIBS)
On 5/2/05, rob page <page rob gmail com> wrote:
> Hi Dieter,
>
> Seeing as its a linking error, i'd guess your CFLAGS are getting set
> correctly, I think your configure.in and Makefile.am would be helpful,
> so i'm posting the relevant sections from one I use that works:
>
> configure.in
> PKG_CHECK_MODULES(AMYEDIT, gtkmm-2.4 >= 2.4.8 gtksourceview-1.0)
> AC_SUBST(AMYEDIT_CFLAGS)
> AC_SUBST(AMYEDIT_LIBS)
>
> src/Makefile.am
> AM_CXXFLAGS = $(AMYEDIT_CFLAGS) -I$(srcdir)
> LIBS = $(AMYEDIT_LIBS) -laspell
>
> The only thing I can think of, your not overwriting the LIBS variable
> by accident anywhere are you?
>
> Rob.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]