summaryrefslogtreecommitdiff
path: root/meta/recipes-core/eglibc/ldconfig-native_2.12.1.bb
blob: bacf9f8dc4c1373862c4054c42c64919bb6cc243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "A standalone native ldconfig build"

LICENSE = "GPLv2.1"

LIC_FILES_CHKSUM = "file://${S}/ldconfig.c;endline=17;md5=1d15f20937c055cb5de2329a4c054399"

SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \
           file://ldconfig.patch \
           file://ldconfig_aux-cache_path_fix.patch \
           file://32and64bit.patch \
           file://endian-ness_handling.patch \
           file://flag_fix.patch "

PR = "r0"

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_install () {
	install -d ${D}/${bindir}/
	install ldconfig ${D}/${bindir}/
}