diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-01-16 23:35:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-01-16 23:38:41 +0200 |
commit | 5adc0674a7e3edaeeedf639f9ae0e36cf5cced43 (patch) | |
tree | 75542c5f38bf318811a5c8c5d4959503dd2110bb /configure.ac | |
parent | ad478d812f3c29336815ba8b914142f2e0783304 (diff) |
Export CROSS_COMPILING=YES, if set, while running the configure script
It can thus be used in a pkg-config replacement wrapper that makes pkg-config
look in an appropriate place, which typically is needed when not using a
proper cross-compilation toolchain. (Such would come with an own copy of
pkg-config.)
Change-Id: I4c746206cc67ed7a428833f03b9d3aad250d31e1
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index bcd2fe71765b..24d7ce70f287 100644 --- a/configure.ac +++ b/configure.ac @@ -3235,7 +3235,7 @@ AC_SUBST(DISABLE_ACTIVEX) AC_SUBST(DISABLE_ATL) if test "$cross_compiling" = "yes"; then - CROSS_COMPILING=YES + export CROSS_COMPILING=YES SCPDEFS="$SCPDEFS -DCROSS_COMPILING" else CROSS_COMPILING= |