From: Hauke Mehrtens Date: Sun, 13 Feb 2022 18:21:18 +0000 (+0100) Subject: Add swig check to prereq X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5a45e5613d3a11ae4606d4fc5b9b546c88948ae8;p=openwrt%2Fstaging%2Fhauke.git Add swig check to prereq --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index e1918f0027..bd8d7fa1d0 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -190,6 +190,9 @@ $(eval $(call SetupHostCommand,which,Please install 'which', \ /bin/which which, \ which which)) +$(eval $(call SetupHostCommand,swig,Please install 'swig', \ + swig -python -help |grep "Python")) + $(STAGING_DIR_HOST)/bin/mkhash: $(SCRIPT_DIR)/mkhash.c mkdir -p $(dir $@) $(CC) -O2 -I$(TOPDIR)/tools/include -o $@ $<