Skip to content

Commit ccd3410

Browse files
committed
chore: try another approach for sqlite build patch
1 parent 0e3dcb2 commit ccd3410

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

patches/sqlite_fix_build.patch

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/main.mk b/main.mk
2-
index a0b08e5773..1b7620e303 100644
2+
index a0b08e5773..acdb284684 100644
33
--- a/main.mk
44
+++ b/main.mk
55
@@ -1994,9 +1994,9 @@ xbin: threadtest5
@@ -14,12 +14,12 @@ index a0b08e5773..1b7620e303 100644
1414
$(CFLAGS.readline) $(SHELL_OPT) $(CFLAGS.icu) \
1515
$(LDFLAGS.libsqlite3) $(LDFLAGS.readline)
1616
#
17-
@@ -2352,7 +2352,7 @@ distclean: distclean-. clean
18-
19-
20-
# Show important variable settings.
21-
-show-variables:
22-
+show-variables:
23-
@echo "CC = $(CC)"
24-
@echo "B.cc = $(B.cc)"
25-
@echo "T.cc = $(T.cc)"
17+
@@ -2019,7 +2019,7 @@ sqlite3d$(T.exe): shell.c $(LIBOBJS0)
18+
install-shell-0: sqlite3$(T.exe) $(install-dir.bin)
19+
$(INSTALL) -s sqlite3$(T.exe) "$(install-dir.bin)"
20+
install-shell-1:
21+
-install: install-shell-$(HAVE_WASI_SDK)
22+
+install: install-shell-1
23+
24+
# How to build sqldiff$(T.exe) depends on $(LINK_TOOLS_DYNAMICALLY)
25+
#

0 commit comments

Comments
 (0)