mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
postfix: remove host references from makedefs.out
Several -I definitions contain the value of ${STAGING_DIR_TARGET}
which should be removed to reference directories on the target.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
This commit is contained in:
committed by
Armin Kuster
parent
51411b3c7a
commit
83cd75793c
@@ -217,6 +217,7 @@ do_install_append_class-native() {
|
||||
do_install_append_class-target() {
|
||||
# Remove references to buildmachine paths in target makedefs.out
|
||||
sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
|
||||
sed -i 's:-I${STAGING_DIR_TARGET}:-I:g' ${D}/etc/postfix/makedefs.out
|
||||
}
|
||||
|
||||
ALTERNATIVE_${PN} = "sendmail"
|
||||
|
||||
Reference in New Issue
Block a user