|
@@ -10,6 +10,12 @@ DHCP_INSTALL_STAGING = YES
|
|
|
DHCP_LICENSE = MPL-2.0
|
|
|
DHCP_LICENSE_FILES = LICENSE
|
|
|
DHCP_DEPENDENCIES = bind
|
|
|
+
|
|
|
+# use libtool-enabled configure.ac
|
|
|
+define DHCP_LIBTOOL_AUTORECONF
|
|
|
+ cp $(@D)/configure.ac+lt $(@D)/configure.ac
|
|
|
+endef
|
|
|
+
|
|
|
DHCP_CONF_ENV = \
|
|
|
CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \
|
|
|
-D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \
|
|
@@ -33,6 +39,8 @@ ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`"
|
|
|
DHCP_CONF_OPTS += --disable-libtool
|
|
|
else
|
|
|
+DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF
|
|
|
+DHCP_AUTORECONF = YES
|
|
|
DHCP_CONF_OPTS += --enable-libtool
|
|
|
endif
|
|
|
|