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

Merged
Youw merged 2 commits from win-dllexport into master 2023-02-21 18:05:47 -06:00
Youw commented 2023-02-14 06:42:09 -06:00 (Migrated from github.com)

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

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
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-libusb/hidapi!507
No description provided.