diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-01-19 12:50:25 -0600 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2017-01-19 15:35:36 -0600 |
commit | 6e0b50936735faac96db2f20fe84ffd0733750a9 (patch) | |
tree | 37b7469945327e79dad77cc5bda8845ae18ea4e7 /configure.ac | |
parent | 794baed325213d39d75e5f8c3374177891ef70ec (diff) | |
download | phosphor-state-manager-6e0b50936735faac96db2f20fe84ffd0733750a9.tar.gz phosphor-state-manager-6e0b50936735faac96db2f20fe84ffd0733750a9.zip |
Fix missing systemd linking
Discovered LT_INIT is required to link to systemd
Change-Id: I7755386034ccba1675f5b28fd642264f1584bc9f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0c4f8a8..81a03af 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,9 @@ PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221]) AX_CXX_COMPILE_STDCXX_14([noext]) AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS]) +# Checks for library functions +LT_INIT # Required for systemd linking + AC_ARG_VAR(HOST_BUSNAME, [The Host Dbus busname to own]) AS_IF([test "x$HOST_BUSNAME" == "x"], [HOST_BUSNAME="xyz.openbmc_project.State.Host"]) AC_DEFINE_UNQUOTED([HOST_BUSNAME], ["$HOST_BUSNAME"], [The Host DBus busname to own]) |