File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -21,21 +21,13 @@ platform=$(uname)
21
21
rm -f " ${LIBV8_MONOLITH} "
22
22
case " ${platform} " in
23
23
" SunOS" )
24
- /usr/xpg4/bin/find . -path " ./torque_*/**/*.o" -or -path " ./v8*/**/*.o" -or -path " ./icu*/**/*.o" | sort | uniq | while read -r obj; do
25
- ar cqS " ${LIBV8_MONOLITH} " " ${obj} "
26
- done
27
- ranlib " ${LIBV8_MONOLITH} "
24
+ /usr/xpg4/bin/find . -path " ./torque_*/**/*.o" -or -path " ./v8*/**/*.o" -or -path " ./icu*/**/*.o" | sort | uniq | xargs ar cq " ${LIBV8_MONOLITH} "
28
25
;;
29
26
" Darwin" )
30
- /usr/bin/find . -path " ./torque_*/**/*.o" -or -path " ./v8*/**/*.o" -or -path " ./icu*/**/*.o" | sort | uniq | while read -r obj; do
31
- /usr/bin/ar -cqS " ${LIBV8_MONOLITH} " " ${obj} "
32
- done
33
- /usr/bin/ranlib " ${LIBV8_MONOLITH} "
27
+ /usr/bin/find . -path " ./torque_*/**/*.o" -or -path " ./v8*/**/*.o" -or -path " ./icu*/**/*.o" | sort | uniq | xargs /usr/bin/ar -cq " ${LIBV8_MONOLITH} "
34
28
;;
35
29
" Linux" )
36
- find . -path " ./torque_*/**/*.o" -or -path " ./v8*/**/*.o" -or -path " ./icu*/**/*.o" | sort | uniq | while read -r obj; do
37
- ar -cq " ${LIBV8_MONOLITH} " " ${obj} "
38
- done
30
+ find . -path " ./torque_*/**/*.o" -or -path " ./v8*/**/*.o" -or -path " ./icu*/**/*.o" | sort | uniq | xargs ar -cq " ${LIBV8_MONOLITH} "
39
31
;;
40
32
* )
41
33
echo " Unsupported platform: ${platform} "
You can’t perform that action at this time.
0 commit comments