diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-05 18:54:15 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-05 18:56:58 +0000 |
commit | 5db52c1420c8f0d7d6e6b54213ed33252edb81b2 (patch) | |
tree | 5bb38107d5839b19f51b0cb6452fcf7298ffc6e9 /conf | |
parent | 35e542e6f809089e178491c7e04e098284e70a0a (diff) | |
download | meta-mingw-5db52c1420c8f0d7d6e6b54213ed33252edb81b2.tar.gz |
conf: Update WINDRES and RC variables
We need to ensure that WINDRES searches the correct include directory
for header files. Now that a default sysroot is specified to an invalid
location, it highlights that we need to specify the location manually and
explictly.
autotools appears to use "RC" in preference to "WINDRES" so we need
to export that to ensure it doesn't just find the utility and use it
without an include directory.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine-sdk/i686-mingw32.conf | 3 | ||||
-rw-r--r-- | conf/machine-sdk/x86_64-mingw32.conf | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/conf/machine-sdk/i686-mingw32.conf b/conf/machine-sdk/i686-mingw32.conf index 30b24eb..eec3ced 100644 --- a/conf/machine-sdk/i686-mingw32.conf +++ b/conf/machine-sdk/i686-mingw32.conf | |||
@@ -25,4 +25,5 @@ SDKPKGSUFFIX = "nativesdk-mingw32" | |||
25 | 25 | ||
26 | MACHINEOVERRIDES .= ":sdkmingw32" | 26 | MACHINEOVERRIDES .= ":sdkmingw32" |
27 | 27 | ||
28 | export WINDRES = "${HOST_PREFIX}windres" | 28 | export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" |
29 | export RC = "${WINDRES}" | ||
diff --git a/conf/machine-sdk/x86_64-mingw32.conf b/conf/machine-sdk/x86_64-mingw32.conf index abd27c3..be9a8c4 100644 --- a/conf/machine-sdk/x86_64-mingw32.conf +++ b/conf/machine-sdk/x86_64-mingw32.conf | |||
@@ -25,4 +25,5 @@ SDKPKGSUFFIX = "nativesdk-mingw32" | |||
25 | 25 | ||
26 | MACHINEOVERRIDES .= ":sdkmingw32" | 26 | MACHINEOVERRIDES .= ":sdkmingw32" |
27 | 27 | ||
28 | export WINDRES = "${HOST_PREFIX}windres" | 28 | export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" |
29 | export RC = "${WINDRES}" \ No newline at end of file | ||