File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
5757ASFLAGS := -g $(ARCH )
5858LDFLAGS = -specs=$(DEVKITPRO ) /libnx/switch.specs -g $(ARCH ) -Wl,-Map,$(notdir $* .map)
5959
60- LIBS := -lpython3.5 -lm -lnx
60+ LIBS := -lpython3.5 -lm -lz - lnx
6161
6262# ---------------------------------------------------------------------------------
6363# list of directories containing libraries, this must be the top level containing
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ patchPY: cloneNX
126126 echo ac_cv_file__dev_ptc=no >> $(PYDIR ) /config.site
127127 echo ac_cv_lib_dl_dlopen=no >> $(PYDIR ) /config.site
128128 cp $(PYDIR ) /Modules/Setup.dist $(PYDIR ) /Modules/Setup.dist_old
129- cat $(PYDIR ) /Modules/Setup.dist_old | $(SED ) -e ' $$a_nx -I$$(srcdir)/Modules/_nx _nx/_nxmodule.c hashtable.c' | $(SED ) ' s/^\([^#].* pwdmodule\.c.*\)/#\1/' | $(SED ) ' s/^#\(array\|cmath\|math\|_struct\|operator\|_random\|_collections\|itertools\|signal\|strop\|unicodedata\|_io\|_csv\|_md5\|_sha\|_sha256\|_sha512\|binascii\|select\|cStringIO\|time\|_functools\|_socket\|datetime\|_bisect\)\(.*\)/\1\2/' | $(SED ) " s#\\ (zlib[^\$ $]*\\ )\$ $( prefix) \\ ([^\$ $]*\\ )\$ $( exec_prefix) \\ (.*\\ )#\1$( DEVKITPRO) /portlibs/switch\2$( DEVKITPRO) /portlibs/switch\3#" | $(SED ) " s/_tracemalloc/# _tracemalloc/" > $(PYDIR ) /Modules/Setup.dist
129+ cat $(PYDIR ) /Modules/Setup.dist_old | $(SED ) -e ' $$a_nx -I$$(srcdir)/Modules/_nx _nx/_nxmodule.c hashtable.c' | $(SED ) ' s/^\([^#].* pwdmodule\.c.*\)/#\1/' | $(SED ) ' s/^#\(array\|cmath\|math\|_struct\|operator\|_random\|_collections\|itertools\|signal\|strop\|unicodedata\|_io\|_csv\|_md5\|_sha\|_sha256\|_sha512\|binascii\|select\|cStringIO\|time\|_functools\|_socket\|datetime\|_bisect\|zlib\ )\(.*\)/\1\2/' | $(SED ) " s#\\ (zlib[^\$ $]*\\ )\$ $( prefix) \\ ([^\$ $]*\\ )\$ $( exec_prefix) \\ (.*\\ )#\1$( DEVKITPRO) /portlibs/switch\2$( DEVKITPRO) /portlibs/switch\3#" | $(SED ) " s/_tracemalloc/# _tracemalloc/" > $(PYDIR ) /Modules/Setup.dist
130130 cp -r _nx-* /_nx $(PYDIR ) /Modules/
131131
132132 touch patchPY
You can’t perform that action at this time.
0 commit comments