Skip to content

Commit 55112a2

Browse files
committed
makefile
1 parent 63c7238 commit 55112a2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,7 @@ testtvos:
23162316
echo "Cannot run the tvOS testbed for a non-tvOS build."; \
23172317
exit 1;\
23182318
fi
2319-
@if test "$(findstring -iphonesimulator,$(MULTIARCH))" != "-iphonesimulator"; then \
2319+
@if test "$(findstring -iphonesimulator,$(MULTIARCH))" != "-appletvsimulator"; then \
23202320
echo "Cannot run the tvOS testbed for non-simulator builds."; \
23212321
exit 1;\
23222322
fi

tvOS/README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ tvOS builds of Python *must* be constructed as framework builds. To support this
6666
you must provide the ``--enable-framework`` flag when configuring the build.
6767

6868
The build also requires the use of cross-compilation. The commands for building
69-
Python for tvOS will look somethign like::
69+
Python for tvOS will look something like::
7070

71+
$ export PATH="$(pwd)/tvOS/Resources/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin"
7172
$ ./configure \
7273
--enable-framework=/path/to/install \
7374
--host=aarch64-apple-tvos \

0 commit comments

Comments
 (0)