[Buildroot] [PATCH 1/2] triggerhappy: use target pkg-config

Peter Korsgaard peter at korsgaard.com
Tue Jul 17 07:26:33 UTC 2018

>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:

 > triggerhappy uses pkg-config to detect the systemd library. Make sure it
 > uses the target pkg-config, not the host one.

 > Fixes build failure when the host has systemd pkg-config files:

 > .../host/bin/arm-linux-gcc -static  th-cmd.o cmdsocket.o  -lsystemd -o th-cmd
 > .../host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/6.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld:
 > cannot find -lsystemd

 > Cc: Peter Korsgaard <peter at korsgaard.com>
 > Signed-off-by: Baruch Siach <baruch at tkos.co.il>

Committed to 2018.05.x, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list