]> git.openpandora.org Git - openembedded.git/commitdiff
flex: put libfl into ${PN}
authorKoen Kooi <koen@openembedded.org>
Sat, 24 Oct 2009 14:59:51 +0000 (16:59 +0200)
committerKoen Kooi <koen@openembedded.org>
Tue, 27 Oct 2009 07:57:30 +0000 (08:57 +0100)
Phil Blundell said:

> > flex-2.5.31-r4: /usr/lib/libfl.a
This is like bison.

>> 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/flex/flex.inc
recipes/flex/flex_2.5.31.bb

index 048b3cb47d3752ec5672781fc16a3375e7fde6e3..4ebd44a61b71007f861041e8c30311e72e704d8f 100644 (file)
@@ -9,3 +9,9 @@ S = "${WORKDIR}/flex-${PV}"
 
 inherit autotools
 
+# >> flex-2.5.31-r4: /usr/lib/libfl.a
+# That one is a special case: it wants to stay in the main flex package,
+# since flex itself is a development tool.  I'm not sure why it is a
+# static-only library; that might be an error
+
+FILES_${PN} += "${libdir}/libfl.a"
index 3062e2d8dc5e8ed970603091db0d7e5ad05f6e62..e247a03ee8059ff541262f37330282b531cedeef 100644 (file)
@@ -1,5 +1,5 @@
 require flex.inc
-PR = "r4"
+PR = "r5"
 
 SRC_URI += "file://include.patch;patch=1"