We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db20466 commit 7616370Copy full SHA for 7616370
cpython-unix/build-cpython.sh
@@ -511,9 +511,12 @@ fi
511
512
# Also copy object files so they can be linked in a custom manner by
513
# downstream consumers.
514
-for d in Modules Objects Parser Programs Python; do
515
- mkdir -p ${ROOT}/out/python/build/$d
516
- cp -av $d/*.o ${ROOT}/out/python/build/$d/
+for d in Modules Objects Parser Parser/pegen Programs Python; do
+ # Parser/pegen only exists in 3.9+
+ if [ -d $d ]; then
517
+ mkdir -p ${ROOT}/out/python/build/$d
518
+ cp -av $d/*.o ${ROOT}/out/python/build/$d/
519
+ fi
520
done
521
522
# Also copy extension variant metadata files.
0 commit comments