From 65f85cdfc6bf273153564fcba3869f4a5bd884c8 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Oct 02 2014 14:56:10 +0000 Subject: Explicitly link shared library with libsystemd (#1148604) --- diff --git a/erlang-sd_notify.spec b/erlang-sd_notify.spec index df10ac0..cdab32b 100644 --- a/erlang-sd_notify.spec +++ b/erlang-sd_notify.spec @@ -9,7 +9,7 @@ Name: erlang-%{realname} Version: 0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Erlang interface to systemd notify subsystem Group: Development/Languages License: MIT @@ -33,7 +33,7 @@ Requires: erlang-stdlib%{?_isa} %build -CFLAGS="%{optflags}" REBAR_FLAGS="--verbose 2" make %{?_smp_mflags} +CFLAGS="%{optflags}" LDFLAGS=-lsystemd REBAR_FLAGS="--verbose 2" make %{?_smp_mflags} %install @@ -59,6 +59,9 @@ install -m 755 -p priv/%{realname}_drv.so $RPM_BUILD_ROOT%{_libdir}/erlang/lib/% %changelog +* Thu Oct 2 2014 John Eckersberg - 0.1-4 +- Explicitly link shared library with libsystemd (#1148604) + * Thu Aug 28 2014 Peter Lemenkov - 0.1-3 - Rebuild with Erlang 17.2.1