You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find any (reasonably easy) way to set install_dir during build time, but this might be me knowing little to nothing about meson. It'd be nice if this could be configurable so it can be set to %{_libdir}
It seems that
install_dir
is hard coded to/lib/security
: https://github.com/NigelCunningham/pam-MySQL/blob/master/meson.build#L270This is a problem on Fedora (and by extension also on RHEL/CentOS etc.) since the correct directory is platform dependent (e.g.
/lib/security
on 32bit platforms and/lib64/security
on 64bit platforms, see: https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/, technically/usr/lib/security
and/usr/lib64/security
since https://fedoraproject.org/wiki/Features/UsrMove)I couldn't find any (reasonably easy) way to set
install_dir
during build time, but this might be me knowing little to nothing about meson. It'd be nice if this could be configurable so it can be set to%{_libdir}
There's also https://github.com/NigelCunningham/pam-MySQL/blob/master/install.sh which tries to address this. But that of course doesn't work in an rpm build environment:
The current expansion of the
%meson
macro on Fedora 34 looks something like this:So the right directory to use is probably
libdir
: https://mesonbuild.com/Builtin-options.htmlThe text was updated successfully, but these errors were encountered: