From: RISCi_ATOM Date: Tue, 28 Nov 2017 23:17:39 +0000 (-0500) Subject: iw: fix build on musl host X-Git-Tag: v1.4.2~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2cf9fc1257bda95c3c7a81cc03ea651ab2f1c53d;p=librecmc%2Flibrecmc.git iw: fix build on musl host --- 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