Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

windows: don't mark with dllexport in static build #507

Merged
merged 2 commits into from
Feb 22, 2023
Merged

Conversation

Youw
Copy link
Member

@Youw Youw commented Feb 14, 2023

Don't mark API functions with __declspec(dllexport) when building a static library on Windows.
Enforced by CMake builds.
For other builds a compile definition is available.

Related: #480

@mcuee mcuee added the Windows Related to Windows backend label Feb 15, 2023
@Youw Youw changed the title Win: don't mark with dllexport in static build windows: don't mark with dllexport in static build Feb 19, 2023
@Youw Youw merged commit 438d065 into master Feb 22, 2023
@Youw Youw deleted the win-dllexport branch February 22, 2023 00:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Windows Related to Windows backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants