[vlc-devel] [PATCH] configure: fix using protoc from the built tools

Rémi Denis-Courmont remi at remlab.net
Fri May 18 11:33:11 CEST 2018

Le perjantaina 18. toukokuuta 2018, 10.36.29 EEST Steve Lhomme  a écrit :
> > No. It is not using the same environment that is prone to errors.
> Exactly, so forcing the user to change the environment for each folder
> one compiles in is prone to errors.

We actively support prefixed cross-"tools" and subdir builds, so one can have 
as many targets as one wants in a single shell/environment. You can also force 
any variable you want to point to anything suitable for any target.

But if the user proactively changes the environment before configure, then 
that must be reproduced for make and any cached rerun of configure. Likewise, 
any environment change within configure itself must be reflected in make. So 
patching CC or CFLAGS in configure is fine. But patching PATH or 

Now assuming that you neither patch PATH before running configure, and 
configure does not patch PATH either, I don't see the point of your patch...


More information about the vlc-devel mailing list