From: Javier Viguera <javier.viguera@digi.com>
Date: Thu, 16 Nov 2017 17:57:07 +0100
Subject: [PATCH 1/3] Makefile.inc: fix ranlib

Upstream-Status: Inappropriate [poky-specific fix]

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
---
 agent/Makefile.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/agent/Makefile.inc b/agent/Makefile.inc
index 8304cfecc14a..cdf8536dbf9b 100644
--- a/agent/Makefile.inc
+++ b/agent/Makefile.inc
@@ -88,6 +88,9 @@ ifeq ($(OPSYS),GNU/Linux)
   else
     OPTS += -DUSE_uuid_generate=0
   endif
+  ifneq ($(RANLIB),)
+    RANLIB += $@
+  endif
   OPTS += -DENABLE_arch_$(shell uname -m)
 endif
 
