From e16f2b57b48d596b8429629eb2d9e0fbbd4ebfe0 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 15 Aug 2017 11:31:07 +0000 Subject: libffi: Use the config.guess script to determine where headers are The libffi build system uses config.guess internally to name this directory; things are less fragile if we use the same mechanism to find it. This change avoids a manual fix that is needed when converting to BuildStream definitions. It shouldn't cause any change in behaviour. --- strata/core/libffi.morph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'strata/core/libffi.morph') diff --git a/strata/core/libffi.morph b/strata/core/libffi.morph index 174477af..3d6952b1 100644 --- a/strata/core/libffi.morph +++ b/strata/core/libffi.morph @@ -4,5 +4,5 @@ build-system: autotools install-commands: - make DESTDIR="$DESTDIR"/ install - mkdir -p "$DESTDIR"/usr/include -- cp "$TARGET"/include/ffi.h "$DESTDIR"/usr/include/ -- cp "$TARGET"/include/ffitarget.h "$DESTDIR"/usr/include/ +- cp "$(sh ./config.guess)"/include/ffi.h "$DESTDIR"/usr/include/ +- cp "$(sh ./config.guess)"/include/ffitarget.h "$DESTDIR"/usr/include/ -- cgit v1.2.1