From f5c8d890bd22a12cc561ed231c92455a47b9269a Mon Sep 17 00:00:00 2001 From: Burt P Date: Sun, 18 Aug 2019 16:41:29 -0500 Subject: Link sysobj_early with -whole-archive --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e41cbf4a..e43195db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -295,7 +295,7 @@ add_executable(hardinfo shell/loadgraph-uber.c ) target_link_libraries(hardinfo - sysobj_early + -Wl,-whole-archive sysobj_early -Wl,-no-whole-archive uber-graph ${GTK_LIBRARIES} ${LIBSOUP_LIBRARIES} @@ -333,7 +333,7 @@ add_executable(hardinfo shell/loadgraph.c ) target_link_libraries(hardinfo - sysobj_early + -Wl,-whole-archive sysobj_early -Wl,-no-whole-archive ${GTK_LIBRARIES} ${LIBSOUP_LIBRARIES} m -- cgit v1.2.3