Skip to content
Permalink
Browse files
[packaging] Adjust libsystemd build requirements
The systemd development packages have changed and there are build time
warnings like:

  sd_notify was moved to libsystemd. Do not use libsystemd-daemon.

Use libsystemd as instructed.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Apr 26, 2017
1 parent f1a17e3 commit 06a379d408036a41b93e22e9e7e5b557dfc30c02
Showing with 3 additions and 2 deletions.
  1. +2 −1 configure.ac
  2. +1 −1 rpm/usb-moded.spec
@@ -75,7 +75,7 @@ AM_CONDITIONAL([CONNMAN], [test x$connman = xtrue])

AC_ARG_ENABLE([systemd], AS_HELP_STRING([--enable-systemd], [Enable systemd notify interface @<:@default=false@:>@]),
[case "${enableval}" in
yes) systemd=true ; CFLAGS="-DSYSTEMD -lsystemd-daemon $CFLAGS" ;;
yes) systemd=true ; CFLAGS="-DSYSTEMD $CFLAGS" ;;
no) systemd=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-systemd]) ;;
esac],[systemd=false])
@@ -98,6 +98,7 @@ PKG_CHECK_MODULES([USB_MODED], [
libudev
libkmod
ssu-sysinfo
libsystemd
])

AC_SUBST(USB_MODED_LIBS)
@@ -14,7 +14,7 @@ BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(libkmod)
BuildRequires: doxygen
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(ssu-sysinfo)

Requires: lsof

0 comments on commit 06a379d

Please sign in to comment.