Skip to content

Commit b9be7be

Browse files
author
me
committed
webprompt: not specific to Python 2
1 parent fa969df commit b9be7be

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

2.7.10/webprompt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ while (( $# )); do
3131
shift
3232
done
3333
emcc -o $BUILD/index.html \
34-
webprompt-main.c $BUILD/emscripten.c \
34+
../webprompt-main.c $BUILD/emscripten.c \
3535
$FLAGS \
3636
-I$INSTALLDIR/include/python2.7 -L$INSTALLDIR/lib -lpython2.7 \
3737
-s EMULATE_FUNCTION_POINTER_CASTS=1 \
@@ -40,7 +40,7 @@ emcc -o $BUILD/index.html \
4040
-s ALLOW_MEMORY_GROWTH=1 \
4141
-s FORCE_FILESYSTEM=1 -s RETAIN_COMPILER_SETTINGS=1 \
4242
$ASYNC \
43-
--shell-file webprompt-shell.html -s MINIFY_HTML=0 \
43+
--shell-file ../webprompt-shell.html -s MINIFY_HTML=0 \
4444
-s EXPORTED_FUNCTIONS='[_main, _Py_Initialize, _PyRun_SimpleString, _pyruni]' \
4545
-s EXTRA_EXPORTED_RUNTIME_METHODS='[ccall, cwrap]'
4646

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)