Many of the standard C++ library include files have been edited to no longer include <unistd.h> to remove namespace pollution in gcc 4.7, so we need include <unistd.h> manually sometimes. More information: http://gcc.gnu.org/gcc-4.7/porting_to.html [YOCTO #2278] (From OE-Core rev: 5e3c12313edc4b51ddd432ecbbd3b1f5295b3c14) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> [Updated patch header - sgw] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
805 B
BlitzBasic
26 lines
805 B
BlitzBasic
DESCRIPTION = "mklibs produces cut-down shared libraries that contain only the routines required by a particular set of executables."
|
|
HOMEPAGE = "https://code.launchpad.net/mklibs"
|
|
SECTION = "devel"
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://debian/copyright;md5=98d31037b13d896e33890738ef01af64"
|
|
DEPENDS = "python-native"
|
|
|
|
PR = "r1"
|
|
|
|
SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.gz \
|
|
file://ac_init_fix.patch\
|
|
file://fix_STT_GNU_IFUNC.patch\
|
|
file://include-unistd.h-for-gcc47.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "a462d9b802164993d247c1193116d78b"
|
|
SRC_URI[sha256sum] = "706aa22ec979bc54adaf9616d278cecc2f1e8cd5faa656269c9760e8669fcc1e"
|
|
|
|
S = "${WORKDIR}/${BPN}"
|
|
|
|
inherit autotools gettext native
|
|
|
|
do_configure_prepend() {
|
|
sed "s+MKLIBS_VERSION+${PV}+" ${S}/configure.ac
|
|
}
|