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

Tidy up solaris linker flag handling. #20

Closed
whyman opened this issue Dec 19, 2016 · 2 comments
Closed

Tidy up solaris linker flag handling. #20

whyman opened this issue Dec 19, 2016 · 2 comments

Comments

@whyman
Copy link
Member

whyman commented Dec 19, 2016

@whorfin

What is the "correct" way to get the currently hardcoded solaris flags? pkg-config or something else? Do you know any other CMake-using packages that detect these sorts of things?

@whorfin
Copy link
Contributor

whorfin commented Dec 19, 2016

That's an excellent question; I stopped at "well, this works"
The fact that the Lib_UUID package resolution doesn't find -luuid seems suspicious, as does the non-explicit iconv handling.
On the other hand, it's typical to require some kind of manual intervention on Solaris to get -lnsl -lsocket happening for socket code.

There's a friendlier library-finding mechanism i might try, but will need help to test on other platforms, if you like..

@whorfin
Copy link
Contributor

whorfin commented Dec 20, 2016

OK, pull incoming

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