Skip to content

Conversation

@StDymphna
Copy link
Contributor

I have a few build pipelines where I statically link utf8proc into a binary or other shared libs, but still need the symbols to be exported (e.g., plugins).

Because the CMake build system unconditionally defines UTF8PROC_STATIC, and there is no ifndef guard around UTF8PROC_DLLEXPORT, manually defining it with a flag is insufficient.

This PR just adds a small ifndef guard around the code block to allow manually defining -DUTF8PROC_DLLEXPORT.

@stevengj stevengj merged commit 96e9b86 into JuliaStrings:master Nov 15, 2025
12 checks passed
@stevengj
Copy link
Member

Seems reasonable, thanks!

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