aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2020-09-09 12:50:07 +0200
committerDamjan Marion <dmarion@me.com>2020-09-11 07:52:47 +0000
commit3f0ae664faf33578515ffa1fd5287ad692f16c6f (patch)
tree18b05164e2886020dd853b2559f13fb35eb4d8ab /Makefile
parent66bb7dd64ee2377103e18b96f1e6bf6405de44b5 (diff)
build: fix build for Debian 9 and Debian 10
Type: fix Change-Id: Ic07d0ae313b32e420ba93693cb75960a86f752a9 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 29c4c962254..cac1ed770d9 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,8 @@ else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-9)
DEB_DEPENDS += libssl1.0-dev
DEB_DEPENDS += python-all python-pip
DEB_DEPENDS += python-dev python-all python-pip python-virtualenv
+else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-10)
+ DEB_DEPENDS += libelf-dev # for libbpf (af_xdp)
else
DEB_DEPENDS += libssl-dev
endif