mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[docker] mujs updated to 1.3.4 in win-static builds
This commit is contained in:
parent
c3edadc2d9
commit
b6af8fd0b4
@ -1,7 +1,7 @@
|
||||
cd
|
||||
wget https://mujs.com/downloads/mujs-1.3.3.tar.gz
|
||||
rm -rf mujs-1.3.3
|
||||
tar -xf mujs-1.3.3.tar.gz
|
||||
cd mujs-1.3.3
|
||||
wget https://mujs.com/downloads/mujs-1.3.4.tar.gz
|
||||
rm -rf mujs-1.3.4
|
||||
tar -xf mujs-1.3.4.tar.gz
|
||||
cd mujs-1.3.4
|
||||
patch -p1 < ../mujs.diff
|
||||
make CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar prefix=$HOME install
|
||||
make CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar HAVE_READLINE=no prefix=$HOME install
|
||||
|
@ -1,16 +1,5 @@
|
||||
--- mujs-1.3.3/Makefile 2023-01-10 11:11:11.000000000 +0000
|
||||
+++ mujs-1.3.3/Makefile.win 2023-11-07 16:18:12.781947760 +0000
|
||||
@@ -98,8 +98,8 @@
|
||||
$(CC) $(CFLAGS) $(OPTIM) -c -o $@ one.c
|
||||
build/release/libmujs.a: build/release/libmujs.o
|
||||
$(AR) cr $@ $^
|
||||
-build/release/mujs: main.c build/release/libmujs.o
|
||||
- $(CC) $(CFLAGS) $(OPTIM) -o $@ $^ -lm -DHAVE_READLINE -lreadline
|
||||
+#build/release/mujs: main.c build/release/libmujs.o
|
||||
+# $(CC) $(CFLAGS) $(OPTIM) -o $@ $^ -lm -DHAVE_READLINE -lreadline
|
||||
build/release/mujs-pp: pp.c build/release/libmujs.o
|
||||
$(CC) $(CFLAGS) $(OPTIM) -o $@ $^ -lm
|
||||
|
||||
--- mujs-1.3.4/Makefile 2023-01-10 11:11:11.000000000 +0000
|
||||
+++ mujs-1.3.4/Makefile.win 2023-11-07 16:18:12.781947760 +0000
|
||||
@@ -112,14 +112,13 @@
|
||||
echo >> $@ Libs: -L$(libdir) -lmujs
|
||||
echo >> $@ Libs.private: -lm
|
||||
@ -27,8 +16,8 @@
|
||||
install -m 755 build/release/mujs-pp $(DESTDIR)$(bindir)
|
||||
|
||||
install-static: install-common build/release/libmujs.a
|
||||
--- mujs-1.3.3/Makefile 2023-11-07 16:20:17.847381765 +0000
|
||||
+++ mujs-1.3.3/Makefile.win 2023-11-07 16:22:46.616720069 +0000
|
||||
--- mujs-1.3.4/Makefile 2023-11-07 16:20:17.847381765 +0000
|
||||
+++ mujs-1.3.4/Makefile.win 2023-11-07 16:22:46.616720069 +0000
|
||||
@@ -100,8 +100,8 @@
|
||||
$(AR) cr $@ $^
|
||||
#build/release/mujs: main.c build/release/libmujs.o
|
||||
|
@ -1,7 +1,7 @@
|
||||
cd
|
||||
wget https://mujs.com/downloads/mujs-1.3.3.tar.gz
|
||||
rm -rf mujs-1.3.3
|
||||
tar -xf mujs-1.3.3.tar.gz
|
||||
cd mujs-1.3.3
|
||||
wget https://mujs.com/downloads/mujs-1.3.4.tar.gz
|
||||
rm -rf mujs-1.3.4
|
||||
tar -xf mujs-1.3.4.tar.gz
|
||||
cd mujs-1.3.4
|
||||
patch -p1 < ../mujs.diff
|
||||
make CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar prefix=$HOME install
|
||||
make CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar HAVE_READLINE=no prefix=$HOME install
|
||||
|
@ -1,16 +1,5 @@
|
||||
--- mujs-1.3.3/Makefile 2023-01-10 11:11:11.000000000 +0000
|
||||
+++ mujs-1.3.3/Makefile.win 2023-11-07 16:18:12.781947760 +0000
|
||||
@@ -98,8 +98,8 @@
|
||||
$(CC) $(CFLAGS) $(OPTIM) -c -o $@ one.c
|
||||
build/release/libmujs.a: build/release/libmujs.o
|
||||
$(AR) cr $@ $^
|
||||
-build/release/mujs: main.c build/release/libmujs.o
|
||||
- $(CC) $(CFLAGS) $(OPTIM) -o $@ $^ -lm -DHAVE_READLINE -lreadline
|
||||
+#build/release/mujs: main.c build/release/libmujs.o
|
||||
+# $(CC) $(CFLAGS) $(OPTIM) -o $@ $^ -lm -DHAVE_READLINE -lreadline
|
||||
build/release/mujs-pp: pp.c build/release/libmujs.o
|
||||
$(CC) $(CFLAGS) $(OPTIM) -o $@ $^ -lm
|
||||
|
||||
--- mujs-1.3.4/Makefile 2023-01-10 11:11:11.000000000 +0000
|
||||
+++ mujs-1.3.4/Makefile.win 2023-11-07 16:18:12.781947760 +0000
|
||||
@@ -112,14 +112,13 @@
|
||||
echo >> $@ Libs: -L$(libdir) -lmujs
|
||||
echo >> $@ Libs.private: -lm
|
||||
@ -27,8 +16,8 @@
|
||||
install -m 755 build/release/mujs-pp $(DESTDIR)$(bindir)
|
||||
|
||||
install-static: install-common build/release/libmujs.a
|
||||
--- mujs-1.3.3/Makefile 2023-11-07 16:20:17.847381765 +0000
|
||||
+++ mujs-1.3.3/Makefile.win 2023-11-07 16:22:46.616720069 +0000
|
||||
--- mujs-1.3.4/Makefile 2023-11-07 16:20:17.847381765 +0000
|
||||
+++ mujs-1.3.4/Makefile.win 2023-11-07 16:22:46.616720069 +0000
|
||||
@@ -100,8 +100,8 @@
|
||||
$(AR) cr $@ $^
|
||||
#build/release/mujs: main.c build/release/libmujs.o
|
||||
|
Loading…
Reference in New Issue
Block a user