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

Fix wrong library filename (in Windows) #226

Merged
merged 2 commits into from
Oct 20, 2019

Conversation

mikkoi
Copy link
Contributor

@mikkoi mikkoi commented Oct 20, 2019

To maintain compatibility with the Autotools installation we specifically create both shared and static libraries as that is what Autotools script has been doing. Normally CMake would create the system's native default library type.

In Windows we shall create two library files: "check.lib" and "checkDynamic.lib".
This separation is necessary. In Unix/Linux the files would be libcheck.a and libcheck.so, only separated by the filename suffix. But in Windows all library files end with ".lib", both static and dynamic.

Why we create both static and shared type of library?

Signed-off-by: Mikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
Change from checkStatic to checkDynamic.
Was erroneously "checkStatic".

Signed-off-by: Mikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
@brarcher brarcher merged commit 003e225 into libcheck:master Oct 20, 2019
@mikkoi mikkoi deleted the fix-wrong-library-filename branch October 25, 2019 08:06
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.

2 participants