Skip to content

Conversation

@psigen
Copy link
Contributor

@psigen psigen commented Jan 12, 2019

In the current implementation, library suffixes are hard coded from a hand-maintained list. Instead of writing this list, we can use the CMake macros for platform specific library prefix/suffixes.

E.g. https://cmake.org/cmake/help/v3.0/variable/CMAKE_STATIC_LIBRARY_SUFFIX.html

This also resolves library resolution on Mac OSX, which does not currently work on the native .dylib suffix for shared libraries.

In the current implementation, library suffixes are hard coded from a hand-maintained list.  Instead of writing this list, we can use the CMake macros for platform specific library prefix/suffixes.

E.g. https://cmake.org/cmake/help/v3.0/variable/CMAKE_STATIC_LIBRARY_SUFFIX.html

This also resolves library resolution on Mac OSX, which does not currently work on the native `.dylib`  suffix for shared libraries.
Copy link
Contributor

@accelerated accelerated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this breaks previous PR

@psigen
Copy link
Contributor Author

psigen commented Jan 13, 2019 via email

@mfontanini
Copy link
Owner

Nice, I didn't know those existed. I don't think this should break anything, it should be equivalent while also working in cases like OSX. Thanks!

@mfontanini mfontanini merged commit 2c6a47d into mfontanini:master Jan 14, 2019
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

Successfully merging this pull request may close these issues.

3 participants