[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot see CFLAGS
From: |
Brian Dessent |
Subject: |
Re: Cannot see CFLAGS |
Date: |
Mon, 22 Oct 2007 16:00:58 -0700 |
Hongliang Wang wrote:
> zizzy_LDADD = ../gen/libzizzy.a ../ora/libzizora.a
> zizzy_CFLAGS = -Wall -Werror `pkg-config --cflags glib-2.0`
> zizzy_LDFLAGS = -ggdb `pkg-config --libs glib-2.0`
-lfoo (which is likely the result of `pkg-config --libs ...`) does not
go in LDFLAGS. You should put that in LIBS or LIBADD. That is causing
the order of the command line to be wrong, which causes the link to
fail.
Brian