diff options
author | Jan Alexander Steffens (heftig) <[email protected]> | 2018-04-14 19:23:22 +0200 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-04-17 13:46:15 -0700 |
commit | 5cf752b18b30607eb7e88ac2cf47f7de1a57409a (patch) | |
tree | c20a840491c85cd9566bca7d2b93ca5ee717003c /src | |
parent | 5bb98cfd92a9c346e3030bdce5c021210998c068 (diff) |
meson: Version libMesaOpenCL like autotools does
This is for parity with autotools. It names the library
libMesaOpenCL.so.1.0.0 and points mesa.icd to the .1 symlink.
opencl_version now matches configure.ac's OPENCL_VERSION.
Signed-off-by: Jan Alexander Steffens (heftig) <[email protected]>
Tested-By: Aaron Watry <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/targets/opencl/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/opencl/meson.build b/src/gallium/targets/opencl/meson.build index bebe0547d45..317ad8dab4a 100644 --- a/src/gallium/targets/opencl/meson.build +++ b/src/gallium/targets/opencl/meson.build @@ -20,7 +20,7 @@ opencl_link_args = [] opencl_link_deps = [] -opencl_version = '1.0' +opencl_version = '1' if with_ld_version_script opencl_link_args += [ @@ -55,7 +55,7 @@ libopencl = shared_library( cpp.find_library('clangLex', dirs : llvm_libdir), cpp.find_library('clangBasic', dirs : llvm_libdir), ], - version : opencl_version, + version : '@[email protected]'.format(opencl_version), install : true, ) |