build: use join_paths() in meson.build
@i.gnatenko.brain
Submitted by Igor Gnatenko Assigned to Igor Gnatenko @i.gnatenko.brain
Description
Current way of concatenating strings is very unportable. Now we have get_option('prefix') + '/' + get_option('libdir')
, but if user passes --prefix /usr --libdir /usr/lib64
the construction results into /usr//usr/lib64
which is totally broken.
This requires meson >= 0.36.0, but it's not really a problem since it's in suse and fedora at least.