File link-gcc-shared.diff of Package graphite2.27778

Index: graphite-1.3.11/src/CMakeLists.txt
===================================================================
--- graphite-1.3.11.orig/src/CMakeLists.txt	2018-03-12 14:07:16.947663510 +0100
+++ graphite-1.3.11/src/CMakeLists.txt	2018-03-12 14:07:16.959663721 +0100
@@ -131,7 +131,7 @@ if  (${CMAKE_SYSTEM_NAME} STREQUAL "Linu
         if (GRAPHITE2_ASAN)
             target_link_libraries(graphite2 c gcc_s)
         else (GRAPHITE2_ASAN)
-            target_link_libraries(graphite2 c gcc)
+            target_link_libraries(graphite2 c gcc_s)
         endif (GRAPHITE2_ASAN)
         include(Graphite)
         if (BUILD_SHARED_LIBS)
openSUSE Build Service is sponsored by