fix documentation

pull/241/head
Rick V 5 years ago
parent 2dc7501823
commit aa319f5155
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465

@ -21,13 +21,13 @@ WINNT_LIBS ?=
# windows target only
.c.o:
$(CC) $(WINNT_INCLUDE) -Ofast -march=nocona -mfpmath=sse $< -c
$(CC) $(WINNT_INCLUDE) -Iinclude -Ofast -march=nocona -mfpmath=sse $< -c
zpipe: zpipe.c miniz.c
$(NATIVE_CC) $(INCLUDE) $(LIBS) $^ -s -static -o $@
$(NATIVE_CC) $(INCLUDE) -Iinclude $(LIBS) $^ -s -static -o $@
base64enc: base64enc.c
$(NATIVE_CC) $(INCLUDE) $(LIBS) $^ -s -static -o $@ -lmbedx509 -lmbedtls -lmbedcrypto
$(NATIVE_CC) $(INCLUDE) -Iinclude $(LIBS) $^ -s -static -o $@ -lmbedx509 -lmbedtls -lmbedcrypto
download:
wget -O ./cacert.pem https://curl.haxx.se/ca/cacert.pem

@ -18,7 +18,7 @@ native build:
$ export WINNT_INCLUDE=$INCLUDE WINNT_LIBS=$LIBS
$ make prepare;make lokinet-bootstrap
cross-compile build:
cross-compile build (If you have *GNU* sed, you can also update the certificate trust store with `make prepare`):
$ export INCLUDE=/usr/local/include LIBS=/usr/local/lib # or a different path
$ export CC=i686-w64-mingw32-gcc # change these if you use clang, make sure these are in your system $PATH!
@ -28,7 +28,7 @@ cross-compile build:
# Usage
C:\>lokinet-bootstrap
C:\>lokinet-bootstrap [uri] [local download path]
this is also included in the lokinet installer package.

Loading…
Cancel
Save