diff options
Diffstat (limited to 'main/graphite2/cmake.patch')
-rw-r--r-- | main/graphite2/cmake.patch | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/main/graphite2/cmake.patch b/main/graphite2/cmake.patch index 41f1e51876..ffafa17d4a 100644 --- a/main/graphite2/cmake.patch +++ b/main/graphite2/cmake.patch @@ -1,13 +1,16 @@ ---- ./tests/CMakeLists.txt.orig -+++ ./tests/CMakeLists.txt -@@ -58,7 +58,9 @@ - LINKER_LANGUAGE C) - endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - --add_subdirectory(comparerenderer) -+if (GRAPHITE2_COMPARE_RENDERER) -+ add_subdirectory(comparerenderer) -+endif (GRAPHITE2_COMPARE_RENDERER) - add_subdirectory(endian) - add_subdirectory(bittwiddling) - if (NOT GRAPHITE2_NFILEFACE) +--- 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 +@@ -118,11 +118,7 @@ + if (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") + target_link_libraries(graphite2 kernel32 msvcr90 mingw32 gcc user32) + else (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") +- if (GRAPHITE2_ASAN) +- target_link_libraries(graphite2 c gcc_s) +- else (GRAPHITE2_ASAN) +- target_link_libraries(graphite2 c gcc) +- endif (GRAPHITE2_ASAN) ++ target_link_libraries(graphite2 c gcc_s -lssp_nonshared) + include(Graphite) + nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>) + endif (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") + |