Skip to contentSkip to conversation

wxwidgets: git -> gitsm to fix build when no x11

PATCH New Robert Yang 1 participant 1 message Apr 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wxwidgets: git -> gitsm to fix build when no x11

Fixed when x11 is not in DISTRO_FEATURES:

$ bitbake wxwidgets
CMake Error at build/cmake/functions.cmake:542 (add_library):
  Cannot find source file:
/path/to/core2-64-wrs-linux/wxwidgets/3.1.5-r0/git/src/expat/expat/lib/xmlparse.c
---
 meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +1 -1
index b10742eac..e82143040 100644
@@ -19,7 +19,7 @@ DEPENDS += " \
 "
 
 SRC_URI = " \
-    git://github.com/wxWidgets/wxWidgets.git;branch=master;protocol=https \
+    gitsm://github.com/wxWidgets/wxWidgets.git;branch=master;protocol=https \
     file://0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch \
     file://fix-libdir-for-multilib.patch \
     file://respect-DESTDIR-when-create-link.patch \
Signature · 1 line
2.31.1