aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-10-09 14:48:45 +0200
committerRon Evans <[email protected]>2022-10-16 12:03:03 +0200
commit9de757205f21900c037bc9276d036cc2676a2bdb (patch)
treea18f47f1b9f2181d93408ec73ced83f73b68fed7 /Makefile
parentf866d5cc38319b1abcfd2e7302b2b8ed7d89cdad (diff)
downloadtinygo-9de757205f21900c037bc9276d036cc2676a2bdb.tar.gz
tinygo-9de757205f21900c037bc9276d036cc2676a2bdb.zip
linux: include musl 'getpagesize' function in release
I wonder why nobody else noticed this bug? In any case, this patch fixes it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4345290b4..7d5fad9e4 100644
--- a/Makefile
+++ b/Makefile
@@ -786,6 +786,7 @@ endif
@cp -rp lib/musl/src/exit build/release/tinygo/lib/musl/src
@cp -rp lib/musl/src/include build/release/tinygo/lib/musl/src
@cp -rp lib/musl/src/internal build/release/tinygo/lib/musl/src
+ @cp -rp lib/musl/src/legacy build/release/tinygo/lib/musl/src
@cp -rp lib/musl/src/malloc build/release/tinygo/lib/musl/src
@cp -rp lib/musl/src/mman build/release/tinygo/lib/musl/src
@cp -rp lib/musl/src/math build/release/tinygo/lib/musl/src