From: Chris Larson Date: Wed, 26 May 2004 05:01:17 +0000 (+0000) Subject: Dont try splitting gconvs in glibc when PACKAGES is empty. X-Git-Tag: Release-2010-05/1~19005 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7ee27c9237e2586f6b06845cd3b1e6f686d5cfe;p=openembedded.git Dont try splitting gconvs in glibc when PACKAGES is empty. BKrev: 40b4249dRrITpSFGcetiyRRrzhjNaw --- diff --git a/glibc/glibc_2.3.2.oe b/glibc/glibc_2.3.2.oe index 92a0316da1..ca40a7b480 100644 --- a/glibc/glibc_2.3.2.oe +++ b/glibc/glibc_2.3.2.oe @@ -274,6 +274,9 @@ python package_do_split_gconvs () { oe.note("package requested not splitting gconvs") return + if not oe.data.getVar('PACKAGES', d, 1): + return + libdir = oe.data.getVar('libdir', d, 1) if not libdir: oe.error("libdir not defined") diff --git a/glibc/glibc_cvs.oe b/glibc/glibc_cvs.oe index df80e95100..1fbaf9df0d 100644 --- a/glibc/glibc_cvs.oe +++ b/glibc/glibc_cvs.oe @@ -198,6 +198,9 @@ python package_do_split_gconvs () { oe.note("package requested not splitting gconvs") return + if not oe.data.getVar('PACKAGES', d, 1): + return + libdir = oe.data.getVar('libdir', d, 1) if not libdir: oe.error("libdir not defined")