[Buildroot] [PATCH] package/tinycbor: override prefix at build time as well
Peter Korsgaard
peter at korsgaard.com
Tue May 7 20:13:41 UTC 2024
>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:
>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:
>> To ensure the correct prefix is used in the generated tinycbor.pc instead of
>> /usr/local:
>>>>> tinycbor 0.6.0 Building
>> ..
>> sed > tinycbor.pc < tinycbor.pc.in \
>> -e 's, at prefix@,/usr/local,' \
>> -e 's, at exec_prefix@,/usr/local,' \
>> -e 's, at libdir@,/usr/local/lib,' \
>> -e 's, at includedir@,/usr/local/include,' \
>> -e 's, at version@,0.6.0,'
>>>>> tinycbor 0.6.0 Installing to staging directory
>> ..
>> install -m 644 tinycbor.pc
>> /path/to/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/tinycbor.pc
>> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
> Committed, thanks.
Committed to 2024.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list