1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[meta] Don't hardcode the default libdir

Use the configured libdir, so non-defaults paths don't break the script.
This commit is contained in:
Andre Heider 2018-10-05 12:20:31 +02:00 committed by Philip Rebohle
parent e5f3019524
commit 7d7dbe2632
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
conf = configuration_data()
conf.set('dlldir', get_option('prefix')+'/'+get_option('bindir'))
conf.set('bindir', get_option('bindir'))
conf.set('libdir', get_option('libdir'))
conf.set('arch', target_machine.cpu_family())
conf.set('winelib', meson.get_cross_property('winelib', false))
configure_file(

View File

@ -8,7 +8,8 @@ winelib='@winelib@'
if [ $winelib == 'True' ]; then
dll_ext='dll.so'
dlls_dir="$dlls_dir"/../lib
# strip off the trailing bindir to get to the prefix, then append libdir
dlls_dir="${dlls_dir%/@bindir@}/@libdir@"
else
dll_ext='dll'
fi