From 56c94a9bde13650e413e2009e50b67f7ead059e9 Mon Sep 17 00:00:00 2001
From: Joachim Wiberg <troglobit@gmail.com>
Date: Tue, 7 Feb 2023 18:31:00 +0100
Subject: [PATCH 3/4] example/main: add missing $(DESTDIR) to standard include
 path
Organization: Addiva Elektronik

This is used everywhere else so looks loke a simple omission.  Needed
when cross-compiling (or packaging) Clixon.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
---
 example/main/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/main/Makefile.in b/example/main/Makefile.in
index 78243822..aa94895d 100644
--- a/example/main/Makefile.in
+++ b/example/main/Makefile.in
@@ -69,7 +69,7 @@ endif
 
 with_restconf	= @with_restconf@
 
-INCLUDES 	= -I$(includedir) @INCLUDES@ 
+INCLUDES 	= -I$(DESTDIR)$(includedir) @INCLUDES@
 LINKAGE         = @LINKAGE@
 LDFLAGS 	= @LDFLAGS@
 CPPFLAGS  	= @CPPFLAGS@
-- 
2.34.1

