From af209174f9717b518ae1fa6699b065699485b2e6 Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Tue, 28 Nov 2017 18:17:39 -0500 Subject: [PATCH] iw: fix build on musl host --- package/network/utils/iw/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/network/utils/iw/Makefile b/package/network/utils/iw/Makefile index a578ddc98c..9b3c12beca 100644 --- a/package/network/utils/iw/Makefile +++ b/package/network/utils/iw/Makefile @@ -30,8 +30,7 @@ endef define Build/Configure echo "const char iw_version[] = \"$(PKG_VERSION)\";" > $(PKG_BUILD_DIR)/version.c - rm -f $(PKG_BUILD_DIR)/version.sh - touch $(PKG_BUILD_DIR)/version.sh + echo "#!/bin/sh" > $(PKG_BUILD_DIR)/version.sh chmod +x $(PKG_BUILD_DIR)/version.sh endef -- 2.25.1