]> git.openpandora.org Git - openembedded.git/commitdiff
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 92a0316da1b19720018e98e54e6202d50a40216c..ca40a7b480cf482fa43ff9234760770964a1b706 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 df80e95100a254d9906fff52bd45cecb20b9e637..1fbaf9df0ddefea7e2e39b9b0a9894af4b79b408 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")