[vlc-devel] [PATCH] configure: use the protoc from the contribs if the one from tools is not available
Steve Lhomme
robux4 at gmail.com
Tue Feb 14 21:53:39 CET 2017
On Tue, Feb 14, 2017 at 6:15 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le tiistaina 14. helmikuuta 2017, 13.32.30 EET Steve Lhomme a écrit :
>> This is similar to what is done with luac.exe.
>> ---
>> configure.ac | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/configure.ac b/configure.ac
>> index b9f199d2ec..a16ba18907 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -442,6 +442,10 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
>> ])
>> ])
>>
>> + AS_IF([test -x "${CONTRIB_DIR}/bin/protoc${BUILDEXEEXT}"], [
>> + PROTOC="${CONTRIB_DIR}/bin/protoc${BUILDEXEEXT}"
>> + ])
>
> This does not make sense. That directory contains binaries for the host
> system, not the build system.
So let's remove that nonsense for luac and only use the tools one.
>> +
>> AS_IF([test "${SYS}" = "darwin"], [
>> export LD_LIBRARY_PATH="${CONTRIB_DIR}/lib:$LD_LIBRARY_PATH"
>> export DYLD_LIBRARY_PATH="${CONTRIB_DIR}/lib:$DYLD_LIBRARY_PATH"
>
>
> --
> 雷米‧德尼-库尔蒙
> https://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list