gentoo-ebuilds/media-gfx/graphite2/files/graphite2-1.3.5-fix-gcc-linking.patch
Sam James 2802d2b9bd
media-gfx/graphite2: include musl patches again
Closes: https://bugs.gentoo.org/890555
Thanks-to: ernsteiswuerfel <erhard_f@mailbox.org>
Signed-off-by: Sam James <sam@gentoo.org>
2023-02-03 19:50:33 +00:00

17 lines
580 B
Diff

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -127,12 +127,7 @@
set_target_properties(graphite2 PROPERTIES
LINK_FLAGS "-nodefaultlibs ${GRAPHITE_LINK_FLAGS}")
- 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)
if (BUILD_SHARED_LIBS)
nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>)
endif ()