Skip to content

Commit 0443103

Browse files
authored
Update library copy command in build script
Exclude 'libm.so' from the library copy process.
1 parent 73f3379 commit 0443103

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

micropython/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cp "${REPO}/ports/unix/build-standard/micropython" "${DEST}/bin/micropython"
3636
cp "${REPO}/tools/mpy-tool.py" "${DEST}/tools/mpy-tool.py"
3737
cp "${REPO}/py/makeqstrdata.py" "${DEST}/py/makeqstrdata.py"
3838

39-
cp $(ldd "${DEST}/bin/mpy-cross" "${DEST}/bin/micropython" | grep -E '=> /' | grep -Ev 'lib(pthread|c|dl|rt).so' | awk '{print $3}') "${DEST}/lib"
39+
cp $(ldd "${DEST}/bin/mpy-cross" "${DEST}/bin/micropython" | grep -E '=> /' | grep -Ev 'lib(pthread|c|dl|rt|m).so' | awk '{print $3}') "${DEST}/lib"
4040
patchelf --set-rpath '$ORIGIN/../lib' "${DEST}/bin/mpy-cross" "${DEST}/bin/micropython"
4141

4242
complete "${DEST}" "${FULLNAME}" "${OUTPUT}"

0 commit comments

Comments
 (0)