No commit message authored by Karel Slaný's avatar Karel Slaný
No commit message
......@@ -31,6 +31,8 @@ In order to generate the configuration script run the following script:
./autogen.sh
```
### Targeting UNIX and UNIX-Like Systems
Configuring and building the sources:
``` shell
./configure
......@@ -38,13 +40,15 @@ make
```
This will build the js-ctypes and native messaging cores for the current architecture. Library dependencies will be taken from the system. Firefox extension package file (.xpi) is going to be created in the add-on subdirectory.
Building the extension with statically linked libraries:
You can bundle the most important libraries directly into the extension core making it more portable. Building the extension with statically linked libraries:
``` shell
./configure --enable-static-linking
make
```
This will download OpenSSL, ldns and Unbound sources from an external git repository. The libraries are going to be compiled and statically linked into the binary extension cores.
### Targeting OS X and UNIX(-Like) Systems
Building fat extensions:
``` shell
./configure --enable-static-linking --with-force-abi=fat
......
......