summaryrefslogtreecommitdiff
path: root/recipes/util-linux-ng/util-linux-ng_2.15.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/util-linux-ng/util-linux-ng_2.15.bb')
-rw-r--r--recipes/util-linux-ng/util-linux-ng_2.15.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng_2.15.bb b/recipes/util-linux-ng/util-linux-ng_2.15.bb
index d8cb0a714d..2486e402f0 100644
--- a/recipes/util-linux-ng/util-linux-ng_2.15.bb
+++ b/recipes/util-linux-ng/util-linux-ng_2.15.bb
@@ -1,6 +1,16 @@
require util-linux-ng.inc
+PR = "r1"
+
+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_libc-uclibc = " -lintl"
+LDFLAGS_append = " -luuid"
+LDFLAGS_append_libc-uclibc = " -luuid -lintl"
+do_compile_prepend() {
+ sed -i /am__append_1/d ${S}/libs/blkid/src/Makefile
+}