···3535 qttranslations
3636 ];
37373838- # replace this hack with a proper cmake variable or environment variable
3939- # once https://github.com/open-eid/cmake/pull/34 (or #35) gets merged.
3838+ # qdigidoc4's `QPKCS11::reload()` dlopen()s "opensc-pkcs11.so" in QLibrary,
3939+ # i.e. OpenSC's module is searched for in libQt5Core's DT_RUNPATH and fixing
4040+ # qdigidoc4's DT_RUNPATH has no effect on Linux (at least OpenBSD's ld.so(1)
4141+ # searches the program's runtime path as well).
4242+ # LD_LIBRARY_PATH takes precedence for all calling objects, see dlopen(3).
4343+ # https://github.com/open-eid/cmake/pull/35 might be an alternative.
4044 qtWrapperArgs = [
4141- "--prefix LD_LIBRARY_PATH : ${opensc}/lib/pkcs11/"
4545+ "--prefix LD_LIBRARY_PATH : ${opensc}/lib/pkcs11/"
4246 ];
43474448 meta = with lib; {