summaryrefslogtreecommitdiffstats
path: root/contrib/libs/utf8proc/patches/static.patch
diff options
context:
space:
mode:
authormaxim-yurchuk <[email protected]>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <[email protected]>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/utf8proc/patches/static.patch
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/utf8proc/patches/static.patch')
-rw-r--r--contrib/libs/utf8proc/patches/static.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/libs/utf8proc/patches/static.patch b/contrib/libs/utf8proc/patches/static.patch
new file mode 100644
index 00000000000..eb15c3714bd
--- /dev/null
+++ b/contrib/libs/utf8proc/patches/static.patch
@@ -0,0 +1,19 @@
+--- a/utf8proc.h
++++ b/utf8proc.h
+@@ -120,15 +120,1 @@ typedef bool utf8proc_bool;
+-#ifdef UTF8PROC_STATIC
+-# define UTF8PROC_DLLEXPORT
+-#else
+-# ifdef _WIN32
+-# ifdef UTF8PROC_EXPORTS
+-# define UTF8PROC_DLLEXPORT __declspec(dllexport)
+-# else
+-# define UTF8PROC_DLLEXPORT __declspec(dllimport)
+-# endif
+-# elif __GNUC__ >= 4
+-# define UTF8PROC_DLLEXPORT __attribute__ ((visibility("default")))
+-# else
+-# define UTF8PROC_DLLEXPORT
+-# endif
+-#endif
++#define UTF8PROC_DLLEXPORT