mirror of https://gerrit.osmocom.org/libosmocore
Enable systemd-journald log target in debian + rpm packaging
Given that all the distributions we support are shipping systemd anyway, this will not really introduce any additional runtime package dependencies. Change-Id: Ib3af918cd4cc8d0ca6d228a0f2c8338534374d46
This commit is contained in:
parent
433005c87c
commit
700822b305
|
@ -31,6 +31,7 @@ BuildRequires: pkgconfig(libpcsclite)
|
|||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(talloc) >= 2.0.1
|
||||
BuildRequires: pkgconfig(libmnl)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
|
||||
%description
|
||||
libosmocore is a package with various utility functions that were
|
||||
|
@ -305,7 +306,7 @@ applications that want to make use of libosmousb.
|
|||
%build
|
||||
echo "%version" >.tarball-version
|
||||
autoreconf -fiv
|
||||
%configure --enable-shared --disable-static \
|
||||
%configure --enable-shared --disable-static --enable-systemd-logging \
|
||||
--includedir="%_includedir/%name"
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ Build-Depends: debhelper (>= 9),
|
|||
libsctp-dev,
|
||||
libusb-1.0-0-dev,
|
||||
libmnl-dev,
|
||||
libsystemd-dev,
|
||||
python3:native
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Git: git://git.osmocom.org/libosmocore.git
|
||||
|
|
|
@ -26,7 +26,7 @@ override_dh_auto_test:
|
|||
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --enable-static --disable-sctp-tests
|
||||
dh_auto_configure -- --enable-static --disable-sctp-tests --enable-systemd-logging
|
||||
|
||||
override_dh_clean:
|
||||
dh_clean
|
||||
|
|
Loading…
Reference in New Issue