From: Peter Korsgaard Date: Tue, 17 Jul 2018 09:26:33 +0200 Subject: [Buildroot] [PATCH 1/2] triggerhappy: use target pkg-config In-Reply-To: (Baruch Siach's message of "Mon, 11 Jun 2018 21:24:47 +0300") References: Message-ID: <87r2k2nx06.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Baruch" == Baruch Siach 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 > Signed-off-by: Baruch Siach Committed to 2018.05.x, thanks. -- Bye, Peter Korsgaard