Meson can't find 32-bit libXvMCW in non-standard path
Submitted by charlie
Assigned to mes..@..op.org
Link to original bug (#110735)
Description
When compiling mesa in 32-bit mode meson finds 64-bit XvMCW instead of 32-bit XvMCW during configuring. The 32-bit XvMCW library is in a non-standard path.
meson-log.txt: "Compiler stderr: src/gallium/state_trackers/xvmc/meson.build:31:2: ERROR: C library 'XvMCW' not found"
Yes, both 64-bit and 32-bit libXvMC are installed in separate directories.
PKG_CONFIG_PATH, LD_LIBRARY_PATH, LDFLAGS, CXXLDFLAGS, CPPFLAGS are pointed to the 32-bit path location of XvMCW and have no effect.
The CC='/usr/bin/32/gcc' and CXX='/usr/bin/32/g++' wrappers have no effect.
I did not attempt hardcoding an rpath into an 32-bit XvMCW recompile yet.
Software: gcc-9.1.0_multilib meson-0.50.0
Version: git