gettext.bbclass: Set the gettext dependencies correctly for target, cross and native packages
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
f3092747b4
commit
c37037df65
|
@ -25,6 +25,8 @@ LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}"
|
|||
|
||||
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.
|
||||
|
|
|
@ -11,5 +11,7 @@ python () {
|
|||
gettext_after_parse(d)
|
||||
}
|
||||
|
||||
DEPENDS =+ "gettext-native"
|
||||
DEPENDS_GETTEXT = "gettext gettext-native"
|
||||
|
||||
DEPENDS =+ "${DEPENDS_GETTEXT}"
|
||||
EXTRA_OECONF += "--enable-nls"
|
||||
|
|
|
@ -35,6 +35,8 @@ LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} "
|
|||
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 = ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue