path: root/src/lib/eet/eet_lib.c
diff options
authorStefan Schmidt <>2014-08-12 09:37:33 +0200
committerStefan Schmidt <>2014-08-22 16:27:28 +0200
commit3fe554e0b648a9f03ca150ec3b44f20f277b261c (patch)
tree91099b28f71242f57c0159fccec848de4e31ee99 /src/lib/eet/eet_lib.c
parent8c8a2b1098932ebd6f40ef064dfa652bbdf7edc0 (diff)
build: Allow to use external liblz4 instead of embedded copy
While we are likely will keep the embedded copy for a while to avoid a really new dependency we allow now to use the external liblz4. You need at least revision r120 and a package that ships the pc file for it. Personally I would like to get rid of it rather sooner than later due to the security implications and a bunch of code we ship but have no idea about. Reality is that it will need some time until this new lib is actually packaged and shipped with releases for a a majority of people. This patch was co-worked with Doug Newgard <>
Diffstat (limited to 'src/lib/eet/eet_lib.c')
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 40fc366459..6135b3541b 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
44#include "Eet.h" 44#include "Eet.h"
45#include "Eet_private.h" 45#include "Eet_private.h"
46 46
47#include "lz4.h" 47#ifdef ENABLE_LIBLZ4
48#include "lz4hc.h" 48# include <lz4.h>
49# include <lz4hc.h>
51# include "lz4.h"
52# include "lz4hc.h"
49 54
50#ifndef O_BINARY 55#ifndef O_BINARY
51# define O_BINARY 0 56# define O_BINARY 0