libiconv: drop hack since gettext was being inherited

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2011-05-03 13:52:55 +00:00 committed by Koen Kooi
parent eea34cae84
commit 94572bcc4b

View File

@ -8,10 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
BBCLASSEXTEND = "native nativesdk"
PROVIDES = "virtual/libiconv"
PR = "r1"
#gettext.class cant be inherit here so use this hack
DEPENDS = "${@['','gettext-native'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}"
PR = "r2"
EXTRA_OECONF += "${@['--disable-nls','--enable-nls'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}"