From efc491fd9345c38054ce96503c3bf846a19e9260 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 11 Jun 2014 19:48:16 +0200 Subject: procd: force -lc -lgcc to handle cross-dependencies between those two Signed-off-by: Felix Fietkau --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b72ad3..b90cdd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ INSTALL(TARGETS udevtrigger ADD_EXECUTABLE(upgraded upgraded.c watchdog.c) -TARGET_LINK_LIBRARIES(upgraded ubox.a rt.a -static) +TARGET_LINK_LIBRARIES(upgraded ubox.a rt.a -static -lc -lgcc) set_target_properties(upgraded PROPERTIES LINK_SEARCH_END_STATIC 1) INSTALL(TARGETS upgraded RUNTIME DESTINATION sbin -- cgit v1.2.3