build: fix ldconfig executable error in python
authorDamien Mascord <[email protected]>
Mon, 1 Nov 2021 09:06:20 +0000 (20:06 +1100)
committerBaptiste Jonglez <[email protected]>
Tue, 2 Nov 2021 17:18:00 +0000 (18:18 +0100)
commit6a5b4228e30244b44a49f523dea66caf3fbe3307
treedfded419c9c0456078b4bea7f9304a42a0f8766f
parent605192f46c1576fe8abb3df6041d21c3f20e664a
build: fix ldconfig executable error in python

The empty executable is causing problems with meson builds, due to the
error: OSError: [Errno 8] Exec format error: 'ldconfig'

This patch changes the empty ldconfig stub to symlink to /bin/true to
work around this issue.

Fixes: FS#4117
Fixes: 3bd31cc4d2ff ("tools/meson: update to 0.60.0")
Signed-off-by: Damien Mascord <[email protected]>
Tested-by: Aleksander Jan Bajkowski <[email protected]> # Tested on Debian 11
Tested-By: Lucian Cristian <[email protected]>
Tested-By: Baptiste Jonglez <[email protected]>
Cc: Rosen Penev <[email protected]>
include/prereq-build.mk