summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlexande B <abobrikovich@gmail.com>2015-12-13 13:40:06 (GMT)
committerAlexande B <abobrikovich@gmail.com>2015-12-13 13:40:06 (GMT)
commit8d44c858e7e56529af8e630b2d354d7cc3c5b469 (patch)
tree6d5d76f978959c202b76227cf41e053db99919df /Makefile
parentde45bde5b9e30e125279f66d307646b1b7fefafd (diff)
downloadmxe-8d44c858e7e56529af8e630b2d354d7cc3c5b469.zip
mxe-8d44c858e7e56529af8e630b2d354d7cc3c5b469.tar.gz
mxe-8d44c858e7e56529af8e630b2d354d7cc3c5b469.tar.bz2
#782 fix, wrong checksum calculation command for OSX
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9937986..e9e3526 100644
--- a/Makefile
+++ b/Makefile
@@ -193,7 +193,7 @@ define PREPARE_PKG_SOURCE
endef
PKG_CHECKSUM = \
- openssl sha256 '$(PKG_DIR)/$($(1)_FILE)' 2>/dev/null | $(SED) -n 's,^.*\([0-9a-f]\{64\}\)$$,\1,p'
+ openssl dgst -sha256 '$(PKG_DIR)/$($(1)_FILE)' 2>/dev/null | $(SED) -n 's,^.*\([0-9a-f]\{64\}\)$$,\1,p'
CHECK_PKG_ARCHIVE = \
[ '$($(1)_CHECKSUM)' == "`$$(call PKG_CHECKSUM,$(1))`" ]