diff options
| author | Mikhail Paulyshka <me@mixaill.tk> | 2017-04-27 01:39:16 +0300 |
|---|---|---|
| committer | Mikhail Paulyshka <me@mixaill.tk> | 2017-04-29 21:33:55 +0300 |
| commit | 880cf74983af310308203ec4a09f0de59a53bd47 (patch) | |
| tree | 162c4ec2c2d9cbd0f496ea555b436e468e166c09 /ports/pango/0001-fix-static-symbols-export.diff | |
| parent | 3095c9f5bb11b157eb141ed3bea62eea02ed4e8e (diff) | |
| download | vcpkg-880cf74983af310308203ec4a09f0de59a53bd47.tar.gz vcpkg-880cf74983af310308203ec4a09f0de59a53bd47.zip | |
[pango] enable static build
Diffstat (limited to 'ports/pango/0001-fix-static-symbols-export.diff')
| -rw-r--r-- | ports/pango/0001-fix-static-symbols-export.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ports/pango/0001-fix-static-symbols-export.diff b/ports/pango/0001-fix-static-symbols-export.diff new file mode 100644 index 000000000..c09544f5d --- /dev/null +++ b/ports/pango/0001-fix-static-symbols-export.diff @@ -0,0 +1,28 @@ +From 9e7d3a6ea06e1fb661e0aa4b60c6efa9a5684d9d Mon Sep 17 00:00:00 2001 +From: Mikhail Paulyshka <me@mixaill.tk> +Date: Sat, 29 Apr 2017 21:28:12 +0300 +Subject: [PATCH] do not use dllexport for static build + +--- + config.h.win32 | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/config.h.win32 b/config.h.win32 +index 31b330f..e25b5d8 100644 +--- a/config.h.win32 ++++ b/config.h.win32 +@@ -147,7 +147,11 @@ + + /* defines how to decorate public symbols while building */ + #ifdef _MSC_VER ++#ifdef _WINDLL + #define _PANGO_EXTERN __declspec(dllexport) extern + #else ++#define _PANGO_EXTERN extern ++#endif ++#else + #define _PANGO_EXTERN __attribute__((visibility("default"))) __declspec(dllexport) extern + #endif +-- +2.11.0.windows.1 + |
