Skip to contentSkip to conversation

xdotool: avoid running host ldconfig during do_install

PATCH New [email protected] 1 participant 1 message Jun 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xdotool: avoid running host ldconfig during do_install

From: Yogesh Tyagi <[email protected]>

The upstream Makefile invokes ldconfig at install time, which runs the host ldconfig against the target sysroot (${D}) and is both unnecessary and non-deterministic for cross builds. Pass LDCONFIG=true to make the install step a no-op for ldconfig, matching the WITHOUT_RPATH_FIX handling already used here.

---
 meta-oe/recipes-graphics/xdotool/xdotool_4.20251130.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/xdotool/xdotool_4.20251130.1.bb +1 -1
index 75fa636838..e2792ed0b0 100644
@@ -18,5 +18,5 @@ UPSTREAM_CHECK_URI = "https://github.com/jordansissel/xdotool/tags"
 UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+\.\d{8}\.\d+)"
 
 do_install() {
-    oe_runmake install DESTDIR=${D} PREFIX=${prefix}
+    oe_runmake install DESTDIR=${D} PREFIX=${prefix} LDCONFIG=true
 }
Signature · 1 line
2.37.3