From 3166700f4dfb1b98aaa36c0a1e66fa2c2f8e6aca Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Fri, 18 Jun 2021 23:20:23 +0200 Subject: [PATCH] Don't link to systemd twice We link (in a proper CMake way) later a bit below this line, and that actually works on systems using e.g. elogind too. --- src/launcherlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/launcherlib/CMakeLists.txt b/src/launcherlib/CMakeLists.txt index 047494b..b199674 100644 --- a/src/launcherlib/CMakeLists.txt +++ b/src/launcherlib/CMakeLists.txt @@ -24,7 +24,7 @@ set(HEADERS appdata.h booster.h connection.h daemon.h logger.h launcherlib.h # Set libraries to be linked. Shared libraries to be preloaded are not linked in anymore, # but dlopen():ed and listed in src/launcher/preload.h instead. -link_libraries(${GLIB_LDFLAGS} ${DBUS_LDFLAGS} ${LIBDL} "-L/lib -lsystemd -lcap") +link_libraries(${GLIB_LDFLAGS} ${DBUS_LDFLAGS} ${LIBDL} "-L/lib -lcap") # Set executable add_library(applauncherd SHARED ${SRC} ${MOC_SRC})