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

Add "-DHUNSPELL_STATIC" to hunspell.pc if hunspell is built statically #623

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stloeffler
Copy link

src/hunspell/hunvisapi.h (which is installed as part of the hunspell API) checks this definition.
When linking a program statically to hunspell (at least on Windows) thus requires HUNSPELL_STATIC to be defined. One easy way to achieve this is to include it in the pkg-config file. See also the discussion at mxe/mxe#2290 (Note that according to https://people.freedesktop.org/~dbn/pkg-config-guide.html, "there is not a private variant of Cflags")

src/hunspell/hunvisapi.h (which is installed as part of the hunspell API) checks this definition
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.

None yet

1 participant