package/mesa3d: add llvm-config to meson [binaries]
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 28 Sep 2019 20:04:31 +0000 (22:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 5 Oct 2019 20:16:19 +0000 (22:16 +0200)
commit9f84b296968f52e899c1b210437ec1a47cd473f0
tree4ab3db6cc6b63f7b6a09b0aecc74acf5c34dbeff
parent3f6e5fb470986a9b1cc38e0f046ff4736143b087
package/mesa3d: add llvm-config to meson [binaries]

The meson buildsystem does not honour environment variables; instead, it
insists that path to programs be passed in the [binaries] section of the
cross-compilation.conf.

So, that is what we must do to pass the path to llvm-config.

Note that, LLVM_CONFIG does exist in the mesa3d source code, but it is
limited to the Scons buildsystem, and is also a leftover from when
mesa3d was using the autotools. It has never worked with the meson
buildsystem.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mesa3d/mesa3d.mk