Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
TOOLCHAIN_OPTIONS = ""
+DEPENDS_GETTEXT = "gettext-native"
+
# Path mangling needed by the cross packaging
# Note that we use := here to ensure that libdir and includedir are
# target paths, not CROSS_DIR paths.
gettext_after_parse(d)
}
-DEPENDS =+ "gettext-native"
+DEPENDS_GETTEXT = "gettext gettext-native"
+
+DEPENDS =+ "${DEPENDS_GETTEXT}"
EXTRA_OECONF += "--enable-nls"
STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}"
STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}"
+DEPENDS_GETTEXT = "gettext-native"
+
# Don't use site files for native builds
export CONFIG_SITE = ""