summaryrefslogtreecommitdiff
path: root/recipes/util-linux-ng/util-linux-ng_2.15.bb
blob: c4971b1404a464e87803982cd135df41eb102f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require util-linux-ng.inc

PR = "r2"

SRC_URI += "file://fix-make-c.patch;patch=1 \
            file://optional-uuid.patch;patch=1 \
"

FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/util-linux-ng-2.15', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"

LDFLAGS_append = " -luuid"
LDFLAGS_append_libc-uclibc = " -luuid -lintl"

do_compile_prepend() {
	sed -i /am__append_1/d ${S}/libs/blkid/src/Makefile
}