Dont try splitting gconvs in glibc when PACKAGES is empty.
authorChris Larson <clarson@kergoth.com>
Wed, 26 May 2004 05:01:17 +0000 (05:01 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 26 May 2004 05:01:17 +0000 (05:01 +0000)
BKrev: 40b4249dRrITpSFGcetiyRRrzhjNaw

glibc/glibc_2.3.2.oe
glibc/glibc_cvs.oe

index 92a0316..ca40a7b 100644 (file)
@@ -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")
index df80e95..1fbaf9d 100644 (file)
@@ -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")