mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
5f93ec2028
We're not ready to switch to a static qt5 for Linux yet due to missing plugin support. This adds a recipe for building a shared qt4 that we build and link against, but don't distribute. make USE_LINUX_STATIC_QT5=1 can be used to build static qt5 as before.
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
To build dependencies for the current arch+OS:
|
|
make
|
|
To build for another arch/OS:
|
|
make HOST=host-platform-triplet && make HOST=host-platform-triplet
|
|
(For example: make HOST=i686-w64-mingw32 -j4)
|
|
|
|
A prefix will be generated that's suitable for plugging into Bitcoin's
|
|
configure. In the above example, a dir named i686-w64-mingw32 will be
|
|
created. To use it for Bitcoin:
|
|
|
|
./configure --prefix=`pwd`/depends/i686-w64-mingw32
|
|
|
|
No other options are needed, the paths are automatically configured.
|
|
|
|
Dependency Options:
|
|
The following can be set when running make: make FOO=bar
|
|
|
|
SOURCES_PATH: downloaded sources will be placed here
|
|
BASE_CACHE: built packages will be placed here
|
|
SDK_PATH: Path where sdk's can be found (used by OSX)
|
|
FALLBACK_DOWNLOAD_PATH: If a source file can't be fetched, try here before giving up
|
|
NO_QT: Don't download/build/cache qt and its dependencies
|
|
NO_WALLET: Don't download/build/cache libs needed to enable the wallet
|
|
NO_UPNP: Don't download/build/cache packages needed for enabling upnp
|
|
DEBUG: disable some optimizations and enable more runtime checking
|
|
USE_LINUX_STATIC_QT5: Build a static qt5 rather than shared qt4. Linux only.
|
|
|
|
If some packages are not built, for example 'make NO_WALLET=1', the appropriate
|
|
options will be passed to bitcoin's configure. In this case, --disable-wallet.
|
|
|
|
Additional targets:
|
|
download: run 'make download' to fetch sources without building them
|