From e1bd7122415da2571d816d46f360d781925d6965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Terje=20R=C3=B8sten?= Date: Wed, 6 Feb 2019 18:26:38 +0100 Subject: [PATCH] Fix GCC 9 linkage issue --- lshw-B.02.18-cmake.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lshw-B.02.18-cmake.patch b/lshw-B.02.18-cmake.patch index 70acba3..b4874ee 100644 --- a/lshw-B.02.18-cmake.patch +++ b/lshw-B.02.18-cmake.patch @@ -351,7 +351,7 @@ index 0000000..ab559d9 + set_target_properties(lshw PROPERTIES LINK_FLAGS "-static" ) +endif() + -+target_link_libraries(lshw ${SQLITE3_LIBRARIES} ${Z_LIBRARIES} resolv core) ++target_link_libraries(lshw ${SQLITE3_LIBRARIES} ${Z_LIBRARIES} core resolv) + +if(NOT ZLIB) + if(HWDATA) @@ -719,7 +719,7 @@ index 0000000..48bd3f5 +include_directories("${GTK2_INCLUDE_DIRS}") + +add_executable(gtk-lshw ${GTK_SOURCES}) -+target_link_libraries(gtk-lshw ${SQLITE3_LIBRARIES} ${Z_LIBRARIES} ${GTK2_LIBRARIES} resolv core) ++target_link_libraries(gtk-lshw ${SQLITE3_LIBRARIES} ${Z_LIBRARIES} ${GTK2_LIBRARIES} core resolv) +install(TARGETS gtk-lshw DESTINATION sbin) + +if(POLICYKIT)