diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/antlr4/set-export-macro-define-as-private.patch | |
Diffstat (limited to 'vcpkg/ports/antlr4/set-export-macro-define-as-private.patch')
| -rw-r--r-- | vcpkg/ports/antlr4/set-export-macro-define-as-private.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/antlr4/set-export-macro-define-as-private.patch b/vcpkg/ports/antlr4/set-export-macro-define-as-private.patch new file mode 100644 index 0000000..c8c774f --- /dev/null +++ b/vcpkg/ports/antlr4/set-export-macro-define-as-private.patch @@ -0,0 +1,13 @@ +diff --git a/runtime/Cpp/runtime/CMakeLists.txt b/runtime/Cpp/runtime/CMakeLists.txt +index 86fdab9..97486fb 100644 +--- a/runtime/Cpp/runtime/CMakeLists.txt ++++ b/runtime/Cpp/runtime/CMakeLists.txt +@@ -120,7 +120,7 @@ set(static_lib_suffix "") + if (WIN32) + set(static_lib_suffix "-static") + if (TARGET antlr4_shared) +- target_compile_definitions(antlr4_shared PUBLIC ANTLR4CPP_EXPORTS) ++ target_compile_definitions(antlr4_shared PRIVATE ANTLR4CPP_EXPORTS) + endif() + if (TARGET antlr4_static) + target_compile_definitions(antlr4_static PUBLIC ANTLR4CPP_STATIC) |