diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-08-15 11:31:07 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-08-15 12:23:35 +0000 |
commit | e16f2b57b48d596b8429629eb2d9e0fbbd4ebfe0 (patch) | |
tree | 4fa632b48b033aaf31321cb5637ea3b966978310 /strata/core/libffi.morph | |
parent | 2b2fe98a46645f097f7b0f8d6e9a13a9b8e9c253 (diff) | |
download | definitions-sam/libffi-config.guess.tar.gz |
libffi: Use the config.guess script to determine where headers aresam/libffi-config.guess
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.
Diffstat (limited to 'strata/core/libffi.morph')
-rw-r--r-- | strata/core/libffi.morph | 4 |
1 files changed, 2 insertions, 2 deletions
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/ |