mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
depends(wayland): search share/pkgconfig for native wayland-scanner (+ debug find)
wayland-scanner.pc is a noarch .pc -> build_prefix/share/pkgconfig, not lib/pkgconfig, so the earlier PKG_CONFIG_PATH_FOR_BUILD missed it. Add share/pkgconfig to LIBDIR/PATH/PATH_FOR_BUILD + a find to log the real location.
This commit is contained in:
@@ -19,7 +19,8 @@ define $(package)_preprocess_cmds
|
||||
endef
|
||||
|
||||
define $(package)_config_cmds
|
||||
PKG_CONFIG_LIBDIR="$(host_prefix)/lib/pkgconfig:$(build_prefix)/lib/pkgconfig" PKG_CONFIG_PATH="$(build_prefix)/lib/pkgconfig" PKG_CONFIG_PATH_FOR_BUILD="$(build_prefix)/lib/pkgconfig" meson setup --cross-file toolchain.txt build -Ddtd_validation=false -Ddocumentation=false -Dprefer_static=true -Ddefault_library=static -Dtests=false -Dscanner=false
|
||||
echo "=== wayland-scanner in build_prefix ===" ; find $(build_prefix) -name 'wayland-scanner*' 2>/dev/null ; echo "=== end ==="
|
||||
PKG_CONFIG_LIBDIR="$(host_prefix)/lib/pkgconfig:$(build_prefix)/lib/pkgconfig:$(build_prefix)/share/pkgconfig" PKG_CONFIG_PATH="$(build_prefix)/lib/pkgconfig:$(build_prefix)/share/pkgconfig" PKG_CONFIG_PATH_FOR_BUILD="$(build_prefix)/lib/pkgconfig:$(build_prefix)/share/pkgconfig" meson setup --cross-file toolchain.txt build -Ddtd_validation=false -Ddocumentation=false -Dprefer_static=true -Ddefault_library=static -Dtests=false -Dscanner=false
|
||||
endef
|
||||
|
||||
define $(package)_build_cmds
|
||||
|
||||
Reference in New Issue
Block a user