ipsec-tools: add host-flex dependency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 24 Feb 2010 19:14:56 +0000 (19:14 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 24 Feb 2010 21:45:28 +0000 (22:45 +0100)
This fixes the following build failure:

checking lex output file root...
configure: error: cannot find output from flex; giving up

Caused by the fact that a host version of flex is missing
in $(HOST_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ipsec-tools/ipsec-tools.mk

index a8b87a67e365a203c7dda3dc0054ec88881036bc..38cd57ba4df477f9140a6ed0db9205f165f6426c 100644 (file)
@@ -145,7 +145,7 @@ ifeq ($(BR2_PACKAGE_IPSEC_TOOLS_ADMINPORT), y)
 IPSEC_TOOLS_PROGS+= $(TARGET_DIR)/$(IPSEC_TOOLS_TARGET_BINARY_RACOONCTL)
 endif
 
-ipsec-tools: openssl flex $(IPSEC_TOOLS_PROGS)
+ipsec-tools: openssl flex host-flex $(IPSEC_TOOLS_PROGS)
 
 ipsec-tools-source: $(DL_DIR)/$(IPSEC_TOOLS_SOURCE)