graphite2/graphite-arm-nodefaultlibs.patch
2012-04-03 23:49:14 +01:00

12 lines
626 B
Diff

--- graphite2-1.1.1/src/CMakeLists.txt.orig 2012-04-03 17:21:01.000000000 -0400
+++ graphite2-1.1.1/src/CMakeLists.txt 2012-04-03 17:22:13.000000000 -0400
@@ -103,7 +103,7 @@
if (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*")
target_link_libraries(graphite2 "-lkernel32 -lmsvcr90 -lmingw32 -lgcc -luser32")
else (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*")
- target_link_libraries(graphite2 "-lc -lgcc")
+ target_link_libraries(graphite2 "-lc -lgcc_s")
include(Graphite)
nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>)
endif (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*")