summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/ldconfig-native_2.5.bb
blob: 1cd691e7bf928ee9b2f5be10c30e9d3ab38eaad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "A standalone native ldconfig build"

SRC_URI = "file://ldconfig-native-2.5.tar.bz2 \
           file://ldconfig.patch;patch=1 "

inherit native

S = "${WORKDIR}/${PN}-${PV}"

do_compile () {
	$CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c  -I. dl-cache.c -o ldconfig
}

do_stage () {
	install -d ${STAGING_BINDIR}/
	install ldconfig ${STAGING_BINDIR}/
}