diff options
author | Thierry Reding <treding@nvidia.com> | 2019-02-12 16:31:09 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-12-04 12:00:11 +0100 |
commit | a7edecbd00f383e14d63a18f20758ecab5e40ef2 (patch) | |
tree | 8f3ed39206c34982e9f2973261ff2692a17dfae7 | |
parent | 30ba09cd4975e5f5153904b09947f52aa7864586 (diff) |
cross
-rw-r--r-- | src/gallium/targets/opencl/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/opencl/meson.build b/src/gallium/targets/opencl/meson.build index 907cc74337d..f59000bca32 100644 --- a/src/gallium/targets/opencl/meson.build +++ b/src/gallium/targets/opencl/meson.build @@ -31,6 +31,10 @@ endif llvm_libdir = dep_llvm.get_configtool_variable('libdir') +if meson.is_cross_build() + llvm_libdir = meson.get_cross_property('root') + llvm_libdir +endif + opencl_libname = with_opencl_icd ? 'MesaOpenCL' : 'OpenCL' libopencl = shared_library( |