Re: Compiling problems
- From: Dan Kegel <dank kegel com>
- To: Mark McLoughlin <mark skynet ie>
- Cc: Katherine Goude <katherine goude baesystems com>,orbit-list gnome org
- Subject: Re: Compiling problems
- Date: Tue, 23 Apr 2002 09:15:23 -0700
Mark McLoughlin wrote:
> CFLAGS = $(shell pkg-config --cflags ORBit-2.0)
pkg-config is the spawn of the devil because it makes
it difficult to cross-compile (e.g. for the Sharp Zaurus).
Package-specific config scripts are slightly more cross-compile-friendly.
If you want your project to be cross-compile-friendly, and you're dead set
on using config scripts, you'd use something like this
to allow the user to override the path to pkg-config:
CFLAGS = $(shell $(ORBIT2_PREFIX)orbit2-config --cflags)
- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]