Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libnfs.so are installed into /usr/lib rather than /usr/lib64 when building with cmake #517

Open
fundawang opened this issue Jan 26, 2025 · 2 comments

Comments

@fundawang
Copy link
Contributor

fundawang commented Jan 26, 2025

install(TARGETS nfs EXPORT libnfs

install(TARGETS nfs EXPORT libnfs
                    RUNTIME DESTINATION bin
                    ARCHIVE DESTINATION lib
                    LIBRARY DESTINATION lib)

which is wrong, because libs should be installed into standard libdir.

Futhermore, libnfs are not using GNUInstallDirs for installation dir. See patch here: https://gitee.com/fundawang/libnfs/raw/main/0001-use-GNUInstallDirs-for-default-installation-dir.patch

@sahlberg
Copy link
Owner

Please send a pull request. I don't usually use CMake

@fundawang
Copy link
Contributor Author

well, the INSTALL file refers to cmake over autotools, which makes me think that cmake is the preferred build system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants