lbrycrd/depends/packages
Cory Fields b5f374fef7 qt: fix build with zlib for target
This contains a few hacks very specific to Qt's buildsystem. These can be
reverted once we split the build between native and target builds.

Qt's build contains a circular dependency when not using a system zlib.
By far the easiest fix is to switch to a system zlib, rather than Qt's own.
However, that confuses Qt's cross build which assumes that when using a system
zlib, it should also find a system (native) zlib for native tools. The build
breaks if that zlib is not present.

To solve this:
1. Always use a system zlib rather than the one provided by qt
2. Set force_bootstrap, which instructs the build tools to be built as though
   we're cross-compiling (build != target)
3. For build tools, use qt's internal zlib so that a native zlib is not
required.

Step 3 means that if any zlib headers are found by the native build, it will
confuse Qt's internal zlib build. So we also need to make sure that the target
headers/libs aren't found. To do so, specify that our
cflags/cxxflags/cppflags/ldflags only apply for non-host builds.
2017-01-28 01:54:30 -05:00
..
bdb.mk build: add armhf/aarch64 gitian builds 2016-06-10 05:34:50 -04:00
boost.mk [depends] Boost 1.63.0 2017-01-11 08:44:22 +08:00
dbus.mk [depends] dbus 1.10.14 2017-01-11 08:44:23 +08:00
expat.mk [depends] expat 2.2.0 2016-09-16 15:26:19 +08:00
fontconfig.mk [depends] fontconfig 2.12.1 2016-09-16 15:26:19 +08:00
freetype.mk [depends] FreeType 2.7.1 2017-01-11 08:44:23 +08:00
libevent.mk [depends] libevent 2.1.7rc 2017-01-04 22:00:26 +08:00
libICE.mk depends: Add a package for qt4.6. Linux uses it by default. 2014-11-19 22:49:41 -05:00
libSM.mk depends: Add a package for qt4.6. Linux uses it by default. 2014-11-19 22:49:41 -05:00
libX11.mk depends: Use pic for all linux dependencies 2014-11-19 22:49:41 -05:00
libXau.mk depends: Use pic for all linux dependencies 2014-11-19 22:49:41 -05:00
libxcb.mk depends: fix a static qt5 crash when using certain versions of libxcb 2015-03-16 23:45:15 -04:00
libXext.mk depends: add shared dependency builder 2014-08-08 15:10:46 -04:00
miniupnpc.mk [depends] miniupnpc 2.0 2016-06-02 09:16:12 +08:00
native_biplist.mk build: fix non-deterministic biplist 2016-07-19 15:43:07 -04:00
native_ccache.mk [depends] ccache 3.3.3 2017-01-11 08:44:23 +08:00
native_cctools.mk depends: bump OSX toolchain 2016-06-17 09:33:45 +02:00
native_cdrkit.mk Fix download link for gitian builds 2014-12-13 09:03:33 +00:00
native_ds_store.mk [depends] native_ds_store 1.1.0 2017-01-11 17:34:13 +08:00
native_libdmg-hfsplus.mk depends: add shared dependency builder 2014-08-08 15:10:46 -04:00
native_mac_alias.mk depends: mac deploy Py3 compatibility 2016-04-21 13:40:51 -04:00
native_protobuf.mk depends: bump protobuf to 2.6.1 2015-07-03 12:59:13 -04:00
openssl.mk [depends] OpenSSL 1.0.1k - update config_opts 2016-06-17 09:33:45 +02:00
packages.mk depends: add a zlib build 2017-01-28 01:54:30 -05:00
protobuf.mk depends: use c++11 2016-04-27 12:47:41 +02:00
qrencode.mk depends: bump qrencode to 3.4.4 2015-07-03 17:21:55 -04:00
qt.mk qt: fix build with zlib for target 2017-01-28 01:54:30 -05:00
xcb_proto.mk depends: Use pic for all linux dependencies 2014-11-19 22:49:41 -05:00
xextproto.mk depends: add shared dependency builder 2014-08-08 15:10:46 -04:00
xproto.mk depends: add shared dependency builder 2014-08-08 15:10:46 -04:00
xtrans.mk depends: Use pic for all linux dependencies 2014-11-19 22:49:41 -05:00
zeromq.mk [depends] ZeroMQ 4.1.5 2016-07-21 16:20:17 +08:00
zlib.mk depends: add a zlib build 2017-01-28 01:54:30 -05:00