Skip to content

Commit

Permalink
[docker] upx also in dos version
Browse files Browse the repository at this point in the history
  • Loading branch information
rkd77 committed Dec 7, 2022
1 parent 57c8a15 commit 3b1c5ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/djgpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM fedora:37

# prepare system
RUN dnf -y update && dnf -y install bash wget \
rsync vim screen git make automake meson unzip cmake patch
rsync vim screen git make automake meson unzip cmake patch upx

RUN cd /root; wget http://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-12.2.0/djcross-gcc-12.2.0-1ap.x86_64.rpm ; \
wget http://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-12.2.0/djcross-gcc-c++-12.2.0-1ap.x86_64.rpm ; \
Expand Down
5 changes: 3 additions & 2 deletions docker/djgpp/mes_djgpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ meson /tmp/builddir --cross-file cross/linux-djgpp.txt \

meson compile -C /tmp/builddir

cd /tmp/builddir
ninja install
i586-pc-msdosdjgpp-strip /tmp/builddir/src/elinks.exe

upx /tmp/builddir/src/elinks.exe
4 changes: 4 additions & 0 deletions docker/djgpp/mes_djgpp_js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ meson /tmp/builddir2 --cross-file cross/linux-djgpp.txt \
-Dzstd=false \

meson compile -C /tmp/builddir2

i586-pc-msdosdjgpp-strip /tmp/builddir2/src/elinks.exe

upx /tmp/builddir2/src/elinks.exe

0 comments on commit 3b1c5ce

Please sign in to comment.