Skip to content

Commit

Permalink
fix typo and remove patchedmakefile step for now
Browse files Browse the repository at this point in the history
  • Loading branch information
KGB99 committed Aug 5, 2024
1 parent 73d9b9c commit 3b82079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/recipes_emscripten/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ sysconfigdata:

LIBPYTHON_EXTRA_OBJECTS=$$(LIBMPDEC_OBJS) $$(LIBEXPAT_OBJS) $$(LIBHACL_SHA2_OBJS)

$(PYBUILD)/.patched_makefile:
$(BUILD)/.patched_makefile:
# Clear out libinstall deps (we build what we want explicitly first)
cd $(PYBUILD) && sed -i -e 's/libinstall:.*/libinstall:/' Makefile;
# Inject extra objects into libpython3.12.a so we don't have to link them
# separately
cd $(PYBUILD) && sed -i '/MODOBJS=/s/$$/ $(LIBPYTHON_EXTRA_OBJECTS)/' Makefile
touch $(PYBUILD)/.patched_makefile

$(INSTALL)/lib/$(LIB): $(BUILD)/$(LIB) sysconfigdata $(BUILD)/.patched_makefile
$(INSTALL)/lib/$(LIB): $(BUILD)/$(LIB) sysconfigdata #$(BUILD)/.patched_makefile
( \
cd $(BUILD); \
touch $(BUILD)/$(LIB) ; \
Expand Down

0 comments on commit 3b82079

Please sign in to comment.