1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 10:39:27 +02:00
Commit graph

4 commits

Author SHA1 Message Date
Floris Bruynooghe
a855c36138 Hack around libetpan not respecting wrap-mode
Since we do not have access to the value of wrap-mode we can not
make the etpan dependency to behave correctly.  Hack around it by
introducing a new option just for etpan.
2018-09-25 23:10:06 -05:00
Floris Bruynooghe
a251dcc42f Tweak buildscripts a little
- Require a minimum meson version, so we can tell people to use
  --wrap-mode=forcefallback

- Rename the option "fat" to "monolith"

- Error when trying to build a monolith static library, that's a lot
  of work since meson does not natively support this.

- Create a dependency for our main lib and use that in the
  commandline.  This fixes some duplication.
2018-09-18 23:33:34 +02:00
Floris Bruynooghe
80e7a4ca6b Build all the bundled libraries when appropriate
This can now create a few things:

- Build a shared lib linked against system libs
- Build a static lib linked against system libs
- Build a shared "fat" lib using internal deps
- Build a static lib using interal deps

The readme needs updating.
2018-09-17 14:34:43 +02:00
Floris Bruynooghe
702b3ccc49 Use bundeled libetpan by default
Using the system-libetpan causes pain to people who have out-dated
library versions, additionally it is nice to by default create a
library which uses dependencies as close as possible to the android
version for testing purposes.  This makes sure that the bundeled
sub-projects are used by default.

Additionally it makes sure to not install these bundeled dependencies
and only statically link the libdeltachat.so against them.  This is
beneficial to not conflict with any system-installed versions of these
libraries, especially since some bundled libraries are stripped down
and would not provide indirect users of the library the full library
functionality.

It does still provide an option to use the system-provided libetpan if
desired however, this makes sure libdeltachat plays nice with normal
package managers etc.
2018-06-10 19:52:54 +02:00