summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-05 18:54:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-05 18:56:58 +0000
commit5db52c1420c8f0d7d6e6b54213ed33252edb81b2 (patch)
tree5bb38107d5839b19f51b0cb6452fcf7298ffc6e9
parent35e542e6f809089e178491c7e04e098284e70a0a (diff)
downloadmeta-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>
-rw-r--r--conf/machine-sdk/i686-mingw32.conf3
-rw-r--r--conf/machine-sdk/x86_64-mingw32.conf3
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
26MACHINEOVERRIDES .= ":sdkmingw32" 26MACHINEOVERRIDES .= ":sdkmingw32"
27 27
28export WINDRES = "${HOST_PREFIX}windres" 28export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}"
29export 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
26MACHINEOVERRIDES .= ":sdkmingw32" 26MACHINEOVERRIDES .= ":sdkmingw32"
27 27
28export WINDRES = "${HOST_PREFIX}windres" 28export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}"
29export RC = "${WINDRES}" \ No newline at end of file