Re: [AD] [ alleg-Bugs-2294557 ] pkg-config support |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] [ alleg-Bugs-2294557 ] pkg-config support
- From: Peter Wang <novalazy@xxxxxxxxxx>
- Date: Mon, 23 Feb 2009 11:14:26 +1100
2009/2/23 Elias Pschernig <elias.pschernig@xxxxxxxxxx>:
> On Sun, 2009-02-22 at 02:43 +0000, SourceForge.net wrote:
>>
>> Initial Comment:
>> pkg-config support
>
> Does this mean, we can now remove the allegro-config stuff from A5?
Depends. How "native" is pkg-config on Mac OS X?
> pkg-config does exactly the same:
>
>> pkg-config a5_font-debug-static-4.9 --cflags
> -I/home/elias/prog/allegro/install4.9//include
>> pkg-config a5_font-debug-static-4.9 --libs
> -L/home/elias/prog/allegro/install4.9//lib -la5_font-debug-static-4.9.9 -la5_iio-debug-static-4.9.9 -lallegro-debug-static-4.9.9
>
> Plus, you made it work for all addons already, something which is
> broken with allegro-config right now.
>
> The --static option does not work though (it should list things like
> -lpng -lz and so on I assume).
Ok. It's also odd because you need to specify both --static *and* use
the -static library name. From a Unix point of view, it's annoying.
Peter