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

Static and shared libraries having the same name prevents build on Windows #3

Open
toBeOfUse opened this issue Feb 10, 2024 · 0 comments
Assignees

Comments

@toBeOfUse
Copy link

Shared (dynamic) libraries require two files on Windows: a .lib file and a .dll file. (Unless you use a .dll by explicitly calling a Win 32 API function like LoadLibrary in your code.) Static libraries are just .lib files.

srcSAX tries to create shared and static libraries with the same name. This results in one .lib file being created for the static library and another being created for the shared library, both with the same name.

srcML names its static library libsrcml_static, presumably to work around this issue? srcSAX should probably do the same so it can be used on Windows.

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

1 participant