summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/build.vars5
1 files changed, 3 insertions, 2 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 8fe420e6..4b3a830a 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -318,9 +318,10 @@ NATIVE_RUNTIME_PREFIX="${PREFIX_NATIVE}";
# Build target host_packages_deps
#
HOST_PACKAGES_DEPS_BUILD_TYPE="host";
-HOST_PACKAGES_DEPS_CFLAGS_CONFIGURE="${DEFAULT_CFLAGS_HOST}";
+HOST_PACKAGES_DEPS_CFLAGS_CONFIGURE="${DEFAULT_CFLAGS_HOST:+${DEFAULT_CFLAGS_HOST} }-I${PREFIX}/include";
HOST_PACKAGES_DEPS_CONFIGURE_ARGS="--disable-nls --prefix=${PREFIX} --program-prefix=";
-HOST_PACKAGES_DEPS_LDFLAGS_CONFIGURE="";
+HOST_PACKAGES_DEPS_ENV_VARS_EXTRA="LD_LIBRARY_PATH=${PREFIX}/lib";
+HOST_PACKAGES_DEPS_LDFLAGS_CONFIGURE="-L${PREFIX}/lib";
HOST_PACKAGES_DEPS_MAKEFLAGS_INSTALL="PREFIX= prefix=";
HOST_PACKAGES_DEPS_PACKAGES="
cmake_host llvm_host clang_host libffi_host glib_host gperf_host