From d96940ac54e0d6197f83d3183e9da6d21a7dcdd9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 17 Jul 2017 20:10:08 -0700 Subject: sessreg: Fix build on musl musl does not define _WTMPX_FILE or _UTMPX_FILE use versions without 'X' Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- meta-oe/recipes-graphics/xorg-app/sessreg_1.1.0.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-oe/recipes-graphics/xorg-app') diff --git a/meta-oe/recipes-graphics/xorg-app/sessreg_1.1.0.bb b/meta-oe/recipes-graphics/xorg-app/sessreg_1.1.0.bb index 2e25b7d91..3885d613d 100644 --- a/meta-oe/recipes-graphics/xorg-app/sessreg_1.1.0.bb +++ b/meta-oe/recipes-graphics/xorg-app/sessreg_1.1.0.bb @@ -6,3 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d938a70c8280c265a1ccd2954365d185" SRC_URI += "file://0001-Makefile.am-Error-Fix.patch" SRC_URI[md5sum] = "e238c89dabc566e1835e1ecb61b605b9" SRC_URI[sha256sum] = "551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c" + +CFLAGS_append_libc-musl = " -D_WTMPX_FILE=WTMP_FILE -D_PATH_WTMPX=_PATH_WTMP -D_UTMPX_FILE=UTMP_FILE -D_PATH_UTMPX=_PATH_UTMP " + -- cgit v1.2.3-54-g00ecf