debian/patches: Add 1002_libsystemd-transition.patch. Make sure autoconf looks for the correct .pc file when search for libsystemd-dev.
This commit is contained in:
parent
7e796d0f91
commit
2235dff8e2
11
debian/patches/1002_libsystemd-transition.patch
vendored
Normal file
11
debian/patches/1002_libsystemd-transition.patch
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -115,7 +115,7 @@
|
||||
|
||||
use_systemd=no
|
||||
if test "x$with_systemd" != "xno" ; then
|
||||
- PKG_CHECK_MODULES(SYSTEMD, libsystemd-login, use_systemd=yes, use_systemd=no)
|
||||
+ PKG_CHECK_MODULES(SYSTEMD, libsystemd, use_systemd=yes, use_systemd=no)
|
||||
|
||||
if test "x$use_systemd" = "xyes"; then
|
||||
AC_DEFINE(HAVE_SYSTEMD, 1, [systemd support])
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -3,3 +3,4 @@
|
||||
0003_set-XDG-CURRENT-DESKTOP-if-empty.patch
|
||||
0004_no-crash-if-no-req-apps-found.patch
|
||||
1001_hypen-used-as-minus-sign-man-page-fix.patch
|
||||
1002_libsystemd-transition.patch
|
||||
|
Loading…
Reference in New Issue
Block a user