summaryrefslogtreecommitdiff
path: root/graphite-arm-nodefaultlibs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphite-arm-nodefaultlibs.patch')
-rw-r--r--graphite-arm-nodefaultlibs.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphite-arm-nodefaultlibs.patch b/graphite-arm-nodefaultlibs.patch
new file mode 100644
index 0000000..626af6e
--- /dev/null
+++ b/graphite-arm-nodefaultlibs.patch
@@ -0,0 +1,16 @@
+--- graphite2-1.2.0/src/CMakeLists.txt.orig 2012-11-09 17:48:04.908391335 +0800
++++ graphite2-1.2.0/src/CMakeLists.txt 2012-11-09 17:48:48.647102280 +0800
+@@ -120,11 +120,7 @@
+ if (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*")
+ target_link_libraries(graphite2 kernel32 msvcr90 mingw32 gcc user32)
+ else (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*")
+- if (GRAPHITE2_SANITIZERS)
+- target_link_libraries(graphite2 c gcc_s)
+- else ()
+- target_link_libraries(graphite2 c gcc)
+- endif ()
++ target_link_libraries(graphite2 c gcc_s)
+ endif()
+ include(Graphite)
+ if (BUILD_SHARED_LIBS)
+