build: use join_paths() for driverdir

This commit is contained in:
Víctor Manuel Jáquez Leal 2020-04-21 11:16:37 +02:00
parent a53f0834b3
commit 8b7a5a36f1

View file

@ -122,7 +122,7 @@ endif
driverdir = libva_dep.get_pkgconfig_variable('driverdir') driverdir = libva_dep.get_pkgconfig_variable('driverdir')
if driverdir == '' if driverdir == ''
driverdir = '@0@/@1@/@2@'.format(get_option('prefix'), get_option('libdir'), 'dri') driverdir = join_paths(get_option('prefix'), get_option('libdir'), 'dri')
endif endif
cdata = configuration_data() cdata = configuration_data()