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:
parent
e5f3019524
commit
7d7dbe2632
@ -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(
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user