File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
ci/ubuntu-24.04-noble/debian Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1+ find_package (PkgConfig)
2+ pkg_check_modules(SYSTEMD libsystemd)
3+
4+ include (FindPackageHandleStandardArgs)
5+ FIND_PACKAGE_HANDLE_STANDARD_ARGS(
6+ systemd
7+ DEFAULT_MSG
8+ SYSTEMD_LIBRARIES
9+ SYSTEMD_INCLUDEDIR)
10+
Original file line number Diff line number Diff line change @@ -279,6 +279,7 @@ if (APPLE)
279279endif ()
280280
281281if (LINUX)
282+ find_package (systemd REQUIRED)
282283 find_package (Bpf REQUIRED)
283284 find_package (LibUnwind REQUIRED)
284285 find_package (Bpf REQUIRED)
@@ -349,7 +350,7 @@ macro(hphp_link target)
349350 target_link_libraries (${target} ${VISIBILITY} glog)
350351
351352 if (LINUX)
352- target_link_libraries (${target} ${VISIBILITY} ${LIBUNWIND_LIBRARIES} ${BPF_LIBRARIES} )
353+ target_link_libraries (${target} ${VISIBILITY} ${LIBUNWIND_LIBRARIES} ${BPF_LIBRARIES} ${SYSTEMD_LIBRARIES} )
353354 endif ()
354355
355356 if (LIBINOTIFY_LIBRARY)
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ Build-Depends:
5858 libsodium-dev,
5959 libsqlite3-dev,
6060 libssl-dev,
61+ libsystemd-dev,
6162 libtool,
6263 libxml2-dev,
6364 libxslt1-dev,
You can’t perform that action at this time.
0 commit comments