[oe-commits] [openembedded-core] 01/20: flex: create separate package for libfl

git at git.openembedded.org git at git.openembedded.org
Thu Mar 8 18:39:51 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 1bc6ad19d56498847dc95cce0ea371ba77eff143
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Mon Mar 5 18:41:57 2018 -0800

    flex: create separate package for libfl
    
    Target binaries linked with libfl currently generate a runtime
    dependency on the entire flex package (and therefore m4 and bison
    too). Copy Debian's approach and create a separate package for libfl.
    
    Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/flex/flex_2.6.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/flex/flex_2.6.0.bb b/meta/recipes-devtools/flex/flex_2.6.0.bb
index a906fe8..b89b751 100644
--- a/meta/recipes-devtools/flex/flex_2.6.0.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.0.bb
@@ -43,6 +43,10 @@ do_install_append_class-nativesdk() {
 	create_wrapper ${D}/${bindir}/flex M4=${M4}
 }
 
+PACKAGES =+ "${PN}-libfl"
+
+FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*"
+
 RDEPENDS_${PN} += "m4"
 RDEPENDS_${PN}-ptest += "bash gawk"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list