Skip to content

Commit

Permalink
Fix broken command in README
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxkrage committed Dec 21, 2022
1 parent fdaf0f6 commit f49498f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "libxml2"]
path = libxml2
url = https://github.com/GNOME/libxml2.git
[submodule "gnutls"]
path = gnutls
url = https://github.com/gnutls/gnutls.git
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The Emacs web browser requires libxml2 to work
$ pushd libxml2
$ cmake -DBUILD_SHARED_LIBS=OFF -DLIBXML2_WITH_LZMA=OFF -DLIBXML2_WITH_ZLIB=OFF -DLIBXML_HTTP_ENABLED=OFF -DCMAKE_INSTALL_PREFIX:PATH=$PWD/build .
$ sudo cmake --build . --target install
$ popd libmxl2
$ popd
```

## Statically compiled Emacs
Expand All @@ -34,7 +34,7 @@ We need a statically compiled version of emacs if we want to keep the rootfs min
``` shellsession
$ pushd emacs
$ ./autogen.sh
$ ./configure --with-json=no --without-x --without-libsystemd --without-gnutls --with-sound=no --without-lcms2 --without-dbus CFLAGS="-static -O3 -I$PWD/../ncurses/build/include -I$PWD/../libxml2/build/include/libxml2 -I$PWD/../zlib/build/include -I$PWD/../lzma/liblzma" LDFLAGS="-static -L$PWD/../ncurses/build/lib -L$PWD/../libxml2/build/lib -L$PWD/../zlib/build/lib -lpthread -lm -ldl" CC=musl-gcc CXX=musl-gcc --prefix=""
$ ./configure --with-json=no --without-x --without-libsystemd --without-gnutls --with-sound=no --without-lcms2 --without-dbus CFLAGS="-static -O3 -I$PWD/../ncurses/build/include -I$PWD/../libxml2/build/include/libxml2" LDFLAGS="-static -L$PWD/../ncurses/build/lib -L$PWD/../libxml2/build/lib -lpthread -lm -ldl" CC=musl-gcc CXX=musl-gcc --prefix=""
$ make -j$(nproc)
$ sudo make DESTDIR=$ROOTFS_MNT install
$ popd
Expand Down
1 change: 1 addition & 0 deletions gnutls
Submodule gnutls added at 9e2ccc

0 comments on commit f49498f

Please sign in to comment.