gobject-introspection: Fix sysroot postinst scripting error
Clearly the echo into ld.so.conf doesn't make sense and there was a cut and paste error when writing this code. As long as the directory existed, the builds worked so it created a race. Fix it as people hit build failures. (From OE-Core rev: b7b45faaf1246bef262a65d033aa1daa3219e318) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
986f44933e
commit
c433e9bc6d
|
@ -171,7 +171,7 @@ gi_ldsoconf_sysroot_preprocess () {
|
|||
mkdir -p ${SYSROOT_DESTDIR}${bindir}
|
||||
dest=${SYSROOT_DESTDIR}${bindir}/postinst-ldsoconf-${PN}
|
||||
echo "#!/bin/sh" > $dest
|
||||
echo "echo mkdir -p ${STAGING_DIR_TARGET}${sysconfdir} > ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
|
||||
echo "mkdir -p ${STAGING_DIR_TARGET}${sysconfdir}" >> $dest
|
||||
echo "echo ${base_libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
|
||||
echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
|
||||
chmod 755 $dest
|
||||
|
|
Loading…
Reference in New Issue