From 4e045788313b0912b442d68160cf50957c8998c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sat, 6 Mar 2021 11:52:06 -0300 Subject: [PATCH] common/build-helper: pass a full path for native builds in cmake-wxWidgets-gtk3. At least KiCAD tries to find wx-config-gtk3 in the current directory, without looking for it in PATH, so the build fails. Actually give it a full path, like we do for the cross build case. --- common/build-helper/cmake-wxWidgets-gtk3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/build-helper/cmake-wxWidgets-gtk3.sh b/common/build-helper/cmake-wxWidgets-gtk3.sh index 9e59751fd7..68bc53de54 100644 --- a/common/build-helper/cmake-wxWidgets-gtk3.sh +++ b/common/build-helper/cmake-wxWidgets-gtk3.sh @@ -1,5 +1,5 @@ if [ "$CROSS_BUILD" ]; then export WX_CONFIG=${XBPS_WRAPPERDIR}/wx-config-gtk3 else - export WX_CONFIG=wx-config-gtk3 + export WX_CONFIG=/usr/bin/wx-config-gtk3 fi