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.
pull/1/head
Bart Ribbers 4 years ago
parent ce1637e317
commit 3166700f4d
No known key found for this signature in database
GPG Key ID: 699D16185DAFAE61

@ -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})

Loading…
Cancel
Save