-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
5 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,16 @@ | ||
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 | ||
index 31b330f..e5ed86c 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 | ||
+#ifdef PANGO_EXPORTS | ||
#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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: pango | ||
Version: 1.40.5-1 | ||
Version: 1.40.5-2 | ||
Description: Text and font handling library. | ||
Build-Depends: glib, gettext, cairo, fontconfig, freetype, harfbuzz |