Message ID | 20240209113035.3372683-2-richard.purdie@linuxfoundation.org |
---|---|
State | New |
Headers | show |
Series | [1/2] no-gplv3: Add workarounds for update-alternatives and ptest | expand |
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 004deb6e41f..9dd399d1b14 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc @@ -191,7 +191,9 @@ FILES:${PN}-dbg += "\ ${datadir}/gdb/auto-load \ " # Needed by libstdcxx pretty printer -RDEPENDS:${PN}-dbg += "python3-datetime" +PYDATETIME = "python3-datetime" +PYDATETIME:mingw32 = "" +RDEPENDS:${PN}-dbg += "${PYDATETIME}" FILES:libg2c = "${target_libdir}/libg2c.so.*" SUMMARY:libg2c = "Companion runtime library for g77"
We can't add a python dependency on mingw since we don't support building python there at this time so avoid that dependency for that case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/recipes-devtools/gcc/gcc-runtime.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)