summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
index 5d704567c8..b66f41ad28 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
@@ -1,14 +1,16 @@
1Upstream-Status: Inappropriate [poky-specific fix] 1Upstream-Status: Inappropriate [poky-specific fix]
2 2
3--- a/Makefile.inc 3Index: agent/Makefile.inc
4+++ b/Makefile.inc 4===================================================================
5@@ -57,6 +57,9 @@ 5--- agent.orig/Makefile.inc
6 ifeq ($(NO_UUID),) 6+++ agent/Makefile.inc
7 LIBS += -luuid 7@@ -88,6 +88,9 @@ ifneq ($(OPSYS),Windows)
8 ifneq ($(CC),g++)
9 OPTS += -Wmissing-prototypes
8 endif 10 endif
9+ ifneq ($(RANLIB),) 11+ ifneq ($(RANLIB),)
10+ RANLIB += $@ 12+ RANLIB += $@
11+ endif 13+ endif
12 endif 14 endif
13 15
14 ifneq ($(OPSYS),Windows) 16 # Compiler flags definition