Marcus Meissner
70a3fe4736
- rtkit-use-system-sd-daemon.patch Use system sddaemon libs. - Update to version 0.11.x, not much has changed other than systemd related updates/improvements. OBS-URL: https://build.opensuse.org/request/show/135461 OBS-URL: https://build.opensuse.org/package/show/Base:System/rtkit?expand=0&rev=17
38 lines
916 B
Diff
38 lines
916 B
Diff
diff --git a/Makefile.am b/Makefile.am
|
|
index febc355..611cf14 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -56,13 +56,16 @@ systemdsystemunit_DATA = \
|
|
endif
|
|
|
|
rtkit_daemon_SOURCES = \
|
|
- rtkit-daemon.c rtkit.h \
|
|
- sd-daemon.c sd-daemon.h
|
|
+ rtkit-daemon.c rtkit.h
|
|
+
|
|
rtkit_daemon_LDADD = \
|
|
- $(DBUS_LIBS)
|
|
+ $(DBUS_LIBS) \
|
|
+ $(SD_DAEMON_LIBS)
|
|
+
|
|
rtkit_daemon_CFLAGS = \
|
|
$(AM_CFLAGS) \
|
|
- $(DBUS_CFLAGS)
|
|
+ $(DBUS_CFLAGS) \
|
|
+ $(SD_DAEMON_CFLAGS)
|
|
|
|
rtkitctl_SOURCES = \
|
|
rtkitctl.c rtkit.h
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 5a77363..2806def 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -115,6 +115,7 @@ AC_SEARCH_LIBS([clock_gettime], [rt])
|
|
AC_SEARCH_LIBS([cap_init], [cap])
|
|
|
|
PKG_CHECK_MODULES(DBUS, dbus-1)
|
|
+PKG_CHECK_MODULES([SD_DAEMON], libsystemd-daemon)
|
|
|
|
AC_ARG_WITH([systemdsystemunitdir],
|
|
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
|