bison: put liby.a in ${PN}
authorKoen Kooi <koen@openembedded.org>
Sat, 24 Oct 2009 14:56:18 +0000 (16:56 +0200)
committerKoen Kooi <koen@openembedded.org>
Tue, 27 Oct 2009 07:57:29 +0000 (08:57 +0100)
Phil Blundell said:

>> bison-2.3-r0: /usr/lib/liby.a

That one is a special case: it wants to stay in the main bison package,
since bison itself is a development tool.  I'm not sure why it is a
static-only library; that might be an error.

recipes/bison/bison_2.3.bb

index edf549f..729756b 100644 (file)
@@ -4,7 +4,17 @@ LICENSE = "GPL"
 SECTION = "devel"
 PRIORITY = "optional"
 
+PR = "r1"
+
 SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
           file://m4.patch;patch=1"
 
 inherit autotools
+
+# >> bison-2.3-r0: /usr/lib/liby.a
+# That one is a special case: it wants to stay in the main bison package,
+# since bison itself is a development tool.  I'm not sure why it is a
+# static-only library; that might be an error.
+
+FILES_${PN} += "${libdir}/liby.a"
+