From 5db52c1420c8f0d7d6e6b54213ed33252edb81b2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 5 Nov 2014 18:54:15 +0000 Subject: 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 --- conf/machine-sdk/i686-mingw32.conf | 3 ++- 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" MACHINEOVERRIDES .= ":sdkmingw32" -export WINDRES = "${HOST_PREFIX}windres" +export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" +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" MACHINEOVERRIDES .= ":sdkmingw32" -export WINDRES = "${HOST_PREFIX}windres" +export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" +export RC = "${WINDRES}" \ No newline at end of file -- cgit v1.2.3