sci-libs/gdal: set PATH for python bindings compile stage as well

gdal wants to run gdal-config from PATH

Closes: https://bugs.gentoo.org/960906
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43271
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate 2025-07-31 21:45:25 +03:00 committed by Sam James
parent 84406bf9bd
commit 7972b37c90
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -360,6 +360,8 @@ python_compile() {
src_compile() {
cmake_src_compile
local -x PATH="${BUILD_DIR}/apps:${PATH}"
local -x LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}"
use python && distutils-r1_src_compile
}