-
Notifications
You must be signed in to change notification settings - Fork 70
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
Portability – FreeBSD and further #12
Comments
Ok I will setup a FreeBSD build machine for test and then apply your patch adding a test to link with dl if the OS is not FreeBSD. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you care a little for BSD systems, and notably FreeBSD, you can take in account this patch: http:https://peterschmitt.fr/liblogicalaccess-freebsd-port.txt
In the first line we have link targets that are FreeBSD specific (and I don't know about others), dl is part of libc. I don't know how to tell CMake to take different link for one precise OS.
It is possible too to use the unix define for any BSD system. If you want to get some specific behavior, use FreeBSD, linux and so on.
Edit: reload the patch to get the unix define used and CMakeLists.txt modified for GNU/Linux and FreeBSD.
The text was updated successfully, but these errors were encountered: