Skip to content

Commit 84a257e

Browse files
author
Michael Herold
committed
Fixes outdated build config
Build working on debian stretch
1 parent 71296cd commit 84a257e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ PHP extension allowing native interaction with systemd and journald
66
Installation
77
============
88

9-
sudo yum install -y php-devel systemd-devel
9+
sudo dnf install php-devel systemd-devel
10+
sudo apt install php5-dev libsystemd-dev
11+
1012
phpize
1113
./configure --with-systemd
1214
make

config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PHP_ARG_WITH(systemd, enable support for systemd,
55
if test "$PHP_SYSTEMD" != "no"; then
66

77
SEARCH_PATH="/usr /usr/local"
8-
SEARCH_FOR="/include/sd-journal.h"
8+
SEARCH_FOR="/include/systemd/sd-journal.h"
99

1010
SYSTEMD_DIR=
1111

@@ -32,7 +32,7 @@ if test "$PHP_SYSTEMD" != "no"; then
3232

3333
PHP_ADD_INCLUDE($SYSTEMD_DIR/include)
3434

35-
LIBNAME=systemd-journal
35+
LIBNAME=systemd
3636
LIBSYMBOL=sd_journal_sendv
3737

3838
if test "x$PHP_LIBDIR" = "x"; then

0 commit comments

Comments
 (0)