~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drop ndk-patches/route.h.patch
[termux-packages]
/
build-package.sh
diff --git
a/build-package.sh
b/build-package.sh
index
fd378ac
..
d12ec5a
100755
(executable)
--- a/
build-package.sh
+++ b/
build-package.sh
@@
-8,6
+8,10
@@
termux_error_exit() {
exit 1
}
+if [ `uname -o` = Android ]; then
+ termux_error_exit "On-device builds are not supported - see README.md"
+fi
+
# Utility function to download a resource, optionally checking against a checksum.
termux_download() {
local URL="$1"