Skip to content

Commit eee390d

Browse files
committed
[#3504] fix Kea not being able to find exec paths in custom sbindir
1 parent 391d132 commit eee390d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/lib/dhcpsrv/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SUBDIRS = . testutils tests
55
# DATA_DIR is the directory where to put default CSV files and the DHCPv6
66
# server ID file (i.e. the file where the server finds its DUID at startup).
77
dhcp_data_dir = @localstatedir@/lib/@PACKAGE@
8-
kea_lfc_location = @prefix@/sbin/kea-lfc
8+
kea_lfc_location = @sbindir@/kea-lfc
99

1010
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
1111
AM_CPPFLAGS += -DDHCP_DATA_DIR="\"$(dhcp_data_dir)\""

src/lib/mysql/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SUBDIRS = . testutils tests
22

33
AM_CPPFLAGS =
4-
AM_CPPFLAGS += -DKEA_ADMIN=\"@prefix@/sbin/kea-admin\"
4+
AM_CPPFLAGS += -DKEA_ADMIN=\"@sbindir@/kea-admin\"
55
AM_CPPFLAGS += -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
66
AM_CPPFLAGS += $(BOOST_INCLUDES) $(MYSQL_CPPFLAGS)
77

src/lib/pgsql/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SUBDIRS = . testutils tests
22

33
AM_CPPFLAGS =
4-
AM_CPPFLAGS += -DKEA_ADMIN=\"@prefix@/sbin/kea-admin\"
4+
AM_CPPFLAGS += -DKEA_ADMIN=\"@sbindir@/kea-admin\"
55
AM_CPPFLAGS += -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
66
AM_CPPFLAGS += $(BOOST_INCLUDES) $(PGSQL_CPPFLAGS)
77

0 commit comments

Comments
 (0)