Skip to content
This repository was archived by the owner on Jan 31, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions recipes/pcre/pcre-binconfig.oe
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DESCRIPTION = "Recipe to provide a symlink to machine:pcre-config in stage/cross/bin/"
LICENSE = "MIT"

RECIPE_TYPES = "cross"
FILES_${PN} = "${bindir}"

do_install() {
install -d ${D}${bindir}
ln -s ../../machine${machine_bindir} ${D}${bindir}/pcre-config
}
4 changes: 2 additions & 2 deletions recipes/pcre/pcre.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ HOMEPAGE = "http://www.pcre.org/"

RECIPE_TYPES = "native machine sdk"

inherit c++ autotools-autoreconf binconfig pkgconfig
inherit c++ autotools-autoreconf pkgconfig

require conf/fetch/sourceforge.conf
SRC_URI = "${SOURCEFORGE_MIRROR}/project/${PN}/${PN}/${PV}/${P}.tar.gz"
Expand Down Expand Up @@ -53,4 +53,4 @@ AUTO_PACKAGE_LIBS_PCPREFIX = "lib"
AUTO_PACKAGE_LIBS_DEV_DEPENDS = "${PN}-dev_${PV}"
DEPENDS_${PN}-libpcreposix = "libpcre libc"
DEPENDS_${PN}-libpcrecpp = "libpcre libc libm libgcc libstdc++"
DEPENDS_${PN}-libpcre = "libc"
DEPENDS_${PN}-libpcre = "libc cross:pcre-binconfig"