summaryrefslogtreecommitdiff
path: root/graphite
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-15 21:45:01 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-15 21:45:01 +0100
commite82100b6fe2375ec60e4c2e9cc1adad6807eeb07 (patch)
treeb757b54496190bc8d797c48bb3546db4907ab70e /graphite
parent20a45dba84dfd4ac600eec893182fe3de6d4dafa (diff)
Add possibility to specify that one builds static graphite
Diffstat (limited to 'graphite')
-rw-r--r--graphite/graphite2-0.9.2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphite/graphite2-0.9.2.patch b/graphite/graphite2-0.9.2.patch
index 9b3003967f8d..d9836e328ff5 100644
--- a/graphite/graphite2-0.9.2.patch
+++ b/graphite/graphite2-0.9.2.patch
@@ -391,3 +391,14 @@ diff current src/List.h
1,1,1,1,1,1,1,1,
1,1,1,1,1,1,0,0,
0,0,0,0,0,0,0,0,
+--- misc/graphite2-0.9.2/include/graphite2/Types.h 2011-02-12 16:54:16.000000000 +0100
++++ misc/build/graphite2-0.9.2/include/graphite2/Types.h 2011-03-15 21:38:06.264788098 +0100
+@@ -36,7 +36,7 @@
+ };
+
+ // Definitions for library publicly exported symbols
+-#if defined _WIN32 || defined __CYGWIN__
++#if defined _WIN32 || defined __CYGWIN__ || !defined GR2_STATIC
+ #ifdef GR2_EXPORTING
+ #ifdef __GNUC__
+ #define GR2_API __attribute__((dllexport))