readme update
This commit is contained in:
parent
a2afec1fdc
commit
7b9ab21f20
@ -9,6 +9,11 @@ Whenever you have problem with compability you can download source package from
|
|||||||
- ```libmupdf-third.a``` ==> ```libs/libmupdf_linux_amd64.a```
|
- ```libmupdf-third.a``` ==> ```libs/libmupdf_linux_amd64.a```
|
||||||
|
|
||||||
Part of file name 'linux_amd64' maens OS and platform.
|
Part of file name 'linux_amd64' maens OS and platform.
|
||||||
|
|
||||||
|
### Musl Compilation
|
||||||
|
To compile for linux musl you can use docker and just simply run following command from CLI
|
||||||
|
- ```docker run --rm -v ./:/mupdf -it alpine:latest sh -c "apk update; apk add alpine-sdk; cd /mupdf;apk add freeglut-dev libxrandr-dev; make clean ;make; chown -R 1000:1000 ./build; mkdir ./musl; cp ./build/release/libmupdf.a ./musl/libmupdf_linux_amd64_musl.a; cp ./build/release/libmupdf-third.a ./musl/libmupdfthird_linux_amd64_musl.a"```
|
||||||
|
|
||||||
##### Notice that you need to compile MuPdf source for OS and platform you want to use
|
##### Notice that you need to compile MuPdf source for OS and platform you want to use
|
||||||
|
|
||||||
### ---------------------------------------------------------------------------------------
|
### ---------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user