aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-17 20:10:08 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-24 18:58:50 +0200
commitd96940ac54e0d6197f83d3183e9da6d21a7dcdd9 (patch)
treed8beb674720b6d1b3d41ed2c400b326365c2f25f
parenta8b542f399330dda088f1a27fde4851dec7407d5 (diff)
downloadmeta-openembedded-contrib-d96940ac54e0d6197f83d3183e9da6d21a7dcdd9.tar.gz
meta-openembedded-contrib-d96940ac54e0d6197f83d3183e9da6d21a7dcdd9.tar.bz2
meta-openembedded-contrib-d96940ac54e0d6197f83d3183e9da6d21a7dcdd9.zip
sessreg: Fix build on musl
musl does not define _WTMPX_FILE or _UTMPX_FILE use versions without 'X' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/xorg-app/sessreg_1.1.0.bb3
1 files changed, 3 insertions, 0 deletions
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 2e25b7d91b..3885d613dd 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 "
+