void-packages/common/build-helper/cmake-wxWidgets-gtk3.sh
Érico Rolim 4e04578831 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.
2021-03-06 11:52:06 -03:00

6 lines
130 B
Bash

if [ "$CROSS_BUILD" ]; then
export WX_CONFIG=${XBPS_WRAPPERDIR}/wx-config-gtk3
else
export WX_CONFIG=/usr/bin/wx-config-gtk3
fi