From e25def7e564a7fdd83d0e4401edb8a805e7a526a Mon Sep 17 00:00:00 2001
From: Jiri Gaisler <[email protected]>
Date: Fri, 25 Sep 2026 18:59:10 +0200
Subject: [PATCH] bindings/python: fix include path for VPATH build

---
 urjtag/bindings/python/setup.py.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/urjtag/bindings/python/setup.py.in b/urjtag/bindings/python/setup.py.in
index 1536f4bc..df0ff135 100644
--- a/urjtag/bindings/python/setup.py.in
+++ b/urjtag/bindings/python/setup.py.in
@@ -11,7 +11,7 @@ setup(name="urjtag",
       ext_modules=[
         Extension("urjtag", ["@srcdir@/chain.c", "@srcdir@/register.c"],
                   define_macros=[('HAVE_CONFIG_H', None)],
-                  include_dirs=['@top_srcdir@', '@top_srcdir@/include', '@top_builddir@'],
+                  include_dirs=['@top_srcdir@', '@top_srcdir@/include', '@top_builddir@', '@top_srcdir@/include/urjtag', '@top_builddir@/include'],
                   library_dirs=['@top_builddir@/src/.libs'],
                   libraries=libraries)
          ])
-- 
2.53.0

_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to