[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dxvk] How to set RPATH with Meson?
From: |
Marius Bakke |
Subject: |
Re: [dxvk] How to set RPATH with Meson? |
Date: |
Wed, 25 Mar 2020 18:35:51 +0100 |
User-agent: |
Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) |
Pierre Neidhardt <address@hidden> writes:
> Hi!
>
> I'm trying to update DXVK to 1.6 and it now ships a new d3d10core.dll.so
> on which its other libraries depend.
> Thus RUNPATH verification fails:
>
> --8<---------------cut here---------------start------------->8---
> validating RUNPATH of 6 binaries in
> "/gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib"...
> /gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib/d3d10.dll.so:
> error: depends on 'd3d10core.dll.so', which cannot be found in RUNPATH
> ("/gnu/store/f2xz8fhfsb559xnpqxqik5y121svnhdg-glibc-2.29/lib"
> "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib"
> "/gnu/store/8239jfnnszqgsvyqansvwwwqzryw9zhb-wine-staging-5.3/bin/../lib/wine32"
>
> "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib/gcc/i686-unknown-linux-gnu/9.3.0/../../..")
> /gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib/d3d10_1.dll.so:
> error: depends on 'd3d10core.dll.so', which cannot be found in RUNPATH
> ("/gnu/store/f2xz8fhfsb559xnpqxqik5y121svnhdg-glibc-2.29/lib"
> "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib"
> "/gnu/store/8239jfnnszqgsvyqansvwwwqzryw9zhb-wine-staging-5.3/bin/../lib/wine32"
>
> "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib/gcc/i686-unknown-linux-gnu/9.3.0/../../..")
> --8<---------------cut here---------------end--------------->8---
>
> I tried passing the following arguments:
>
> --8<---------------cut here---------------start------------->8---
> (string-append "-Dc_link_args=-Wl,-rpath="
> (assoc-ref %outputs "out")
> "/lib")
> (string-append "-Dcpp_link_args=-Wl,-rpath="
> (assoc-ref %outputs "out")
> "/lib")
> --8<---------------cut here---------------end--------------->8---
>
> Didn't work.
>
> Any idea where to go from here?
meson-build-system already passes those arguments unconditionally.
Perhaps meson.build does something weird and ignores those flags?
signature.asc
Description: PGP signature