0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 03:00:31 +00:00
termux-packages/packages/mold/CMakeLists.txt.patch
Fredrik Fornwall 43d26e8bc3 bump(main/mold): 2.34.0
Fixes #21565.
2024-09-25 19:21:24 +02:00

13 lines
516 B
Diff

diff -u -r ../mold-2.34.0/CMakeLists.txt ./CMakeLists.txt
--- ../mold-2.34.0/CMakeLists.txt 2024-09-25 01:01:39.000000000 +0000
+++ ./CMakeLists.txt 2024-09-25 16:59:02.874025988 +0000
@@ -251,7 +251,7 @@
# Remove the default `lib` prefix
set_target_properties(mold-wrapper PROPERTIES PREFIX "")
- target_link_libraries(mold-wrapper PRIVATE ${CMAKE_DL_LIBS})
+ target_link_libraries(mold-wrapper PRIVATE ${CMAKE_DL_LIBS} android-spawn)
target_sources(mold-wrapper PRIVATE src/mold-wrapper.c)
endif()