[cairo] [cairo-commit] Makefile

Behdad Esfahbod behdad at behdad.org
Sat Sep 5 14:31:11 PDT 2009


On 09/05/2009 04:52 AM, M. Joonas Pihlaja wrote:
> commit d27e4146e89cc2b0d0f2e6672be9017e724a7c28
> Author: M Joonas Pihlaja<jpihlaja at cc.helsinki.fi>
> Date:   Sat Sep 5 11:51:36 2009 +0300
>
>      Makefile: Invoke pkg-config using the shell.
>
>      $(pkg-config) is not a GNU Make extension.

I think all you needed was replacing $(pkg-config) with $$(pkg-config)?

behdad, trying to keep an eye on build system changes


> diff --git a/Makefile b/Makefile
> index 05ec216..6219466 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -10,7 +10,7 @@ all: $(ALL_TRACES)
>   	lzma -cd $<  | ./csi-bind>  $@
>
>   csi-bind: csi-bind.c
> -	$(CC) $(CFLAGS) $(shell pkg-config cairo --cflags) $^ -lcairo-script-interpreter $(pkg-config cairo --libs) -o $@
> +	$(CC) $(CFLAGS) $(shell pkg-config cairo --cflags) $^ -lcairo-script-interpreter $(shell pkg-config cairo --libs) -o $@
>   csi-trace: csi-trace.c
>   	$(CC) $(CFLAGS) $(shell pkg-config cairo --cflags) $^ -lcairo-script-interpreter $(shell pkg-config cairo --libs) -o $@
>
> _______________________________________________
> cairo-commit mailing list
> cairo-commit at lists.cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo-commit
>


More information about the cairo mailing list