Hello all,

This patch fixes a bug made in commit 9cfd6c8f8e ("BUILD/MEDIUM: deviceatlas:
addon build rework.") where the path to the *.cpp file is hard-coded.


Best regards,

-- 
Miroslav Zagorac
Senior Developer
From 17372c55d352d3f2143a159b3ea00dd330b79733 Mon Sep 17 00:00:00 2001
From: Miroslav Zagorac <mzago...@haproxy.com>
Date: Mon, 12 Aug 2024 11:53:02 +0200
Subject: [PATCH] BUG/BUILD: deviceatlas: corrected path for *.cpp file
 compilation

This patch fixes a bug made in commit 9cfd6c8f8e ("BUILD/MEDIUM:
deviceatlas: addon build rework.") where the path to the *.cpp file
is hard-coded.
---
 addons/deviceatlas/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addons/deviceatlas/Makefile.inc b/addons/deviceatlas/Makefile.inc
index 07d950a14..cc3f3ec07 100644
--- a/addons/deviceatlas/Makefile.inc
+++ b/addons/deviceatlas/Makefile.inc
@@ -27,5 +27,5 @@ OPTIONS_OBJS    += $(DEVICEATLAS_SRC)/dadwcurl.o
 OPTIONS_OBJS    += $(DEVICEATLAS_SRC)/Os/daunix.o
 endif
 
-addons/deviceatlas/dummy/%.o:    addons/deviceatlas/dummy/%.cpp
+$(DEVICEATLAS_SRC)/%.o:    $(DEVICEATLAS_SRC)/%.cpp
 	$(cmd_CXX) $(CXXFLAGS) -c -o $@ $<
-- 
2.45.2

Reply via email to