Re: Include Path in Makefile (VDR >=1.7.15)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 19 November 2010, 20:19:20 Joachim Wilke wrote:
> I'm just wondering, if there has happened a mistake in updating the
> Makefile in VDR 1.7.15.
>
> The HISTORY file states:
> "Include paths are now added instead of overwriting INCLUDES in the
> Makefile"
>
> However, in the Makefile changes:
> -INCLUDES = -I/usr/include/freetype2
> +INCLUDES ?= -I/usr/include/freetype2
>
> Shouldn't that be += instead of ?=.

No, the conditional variable assignment operator ?= allows one to 
replace this variable via command line/environment.

> In my case, my IDE sets INCLUDES with some custom stuff. Therefore
> the Makefile does not touch INCLUDES any more and I get an error.

If your IDE mangles INCLUDES (?!?), just add "-I/usr/include/freetype2" 
to the mess..

Pete

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux