File tree 2 files changed +2
-2
lines changed
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
57
57
ASFLAGS := -g $(ARCH )
58
58
LDFLAGS = -specs=$(DEVKITPRO ) /libnx/switch.specs -g $(ARCH ) -Wl,-Map,$(notdir $* .map)
59
59
60
- LIBS := -lpython3.5 -lm -lnx
60
+ LIBS := -lpython3.5 -lm -lz - lnx
61
61
62
62
# ---------------------------------------------------------------------------------
63
63
# 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
126
126
echo ac_cv_file__dev_ptc=no >> $(PYDIR ) /config.site
127
127
echo ac_cv_lib_dl_dlopen=no >> $(PYDIR ) /config.site
128
128
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
130
130
cp -r _nx-* /_nx $(PYDIR ) /Modules/
131
131
132
132
touch patchPY
You can’t perform that action at this time.
0 commit comments