File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -241,11 +241,12 @@ END
241
241
if pushd ${SDKROOT} /build/cpython-wasm
242
242
then
243
243
mkdir -p ${SDKROOT} /prebuilt/emsdk
244
- OBJS=" build/temp.emscripten-wasm32-${PYBUILD} /opt/python-wasm-sdk/src/Python-3.11.5/Modules/_ctypes/_ctypes.o \
245
- build/temp.emscripten-wasm32-${PYBUILD} /opt/python-wasm-sdk/src/Python-3.11.5/Modules/_ctypes/callbacks.o \
246
- build/temp.emscripten-wasm32-${PYBUILD} /opt/python-wasm-sdk/src/Python-3.11.5/Modules/_ctypes/callproc.o \
247
- build/temp.emscripten-wasm32-${PYBUILD} /opt/python-wasm-sdk/src/Python-3.11.5/Modules/_ctypes/cfield.o \
248
- build/temp.emscripten-wasm32-${PYBUILD} /opt/python-wasm-sdk/src/Python-3.11.5/Modules/_ctypes/stgdict.o"
244
+ OBJDIR=$( echo -n build/temp.emscripten-wasm32-${PYBUILD} /opt/python-wasm-sdk/src/Python-3.* )
245
+ OBJS=" ${OBJDIR} /Modules/_ctypes/_ctypes.o \
246
+ ${OBJDIR} /Modules/_ctypes/callbacks.o \
247
+ ${OBJDIR} /Modules/_ctypes/callproc.o \
248
+ ${OBJDIR} /Modules/_ctypes/cfield.o \
249
+ ${OBJDIR} /Modules/_ctypes/stgdict.o"
249
250
250
251
$SDKROOT /emsdk/upstream/emscripten/emar rcs ${SDKROOT} /prebuilt/emsdk/lib_ctypes${PYBUILD} .a $OBJS
251
252
popd
You can’t perform that action at this time.
0 commit comments