From abd7a079d92e826c1ab1541b51fa013939f42ea7 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 24 Mar 2017 18:49:33 +0900 Subject: [PATCH] add the dependency on capi-system-info Change-Id: I866e274236b25bd2edba49b69fcc2f571fc73f01 --- configure.ac | 5 +++-- packaging/libtbm-exynos.spec | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 99ca441..2440ed7 100644 --- a/configure.ac +++ b/configure.ac @@ -41,6 +41,7 @@ PKG_CHECK_MODULES(LIBDRM_EXYNOS, libdrm_exynos) PKG_CHECK_MODULES(LIBTBM, libtbm) PKG_CHECK_MODULES(DLOG, dlog) PKG_CHECK_MODULES(LIBUDEV, libudev) +PKG_CHECK_MODULES(SYSTEM_INFO, capi-system-info) AC_ARG_ENABLE(cachectrl, AS_HELP_STRING([--enable-cachectrl], @@ -72,8 +73,8 @@ if test "x$BACKEND_CTRL" = xyes; then AC_DEFINE(ALWAYS_BACKEND_CTRL, 1, [Enable always backend ctrl]) fi -LIBTBM_EXYNOS_CFLAGS="$LIBDRM_CFLAGS $LIBDRM_EXYNOS_CFLAGS $LIBTBM_CFLAGS $DLOG_CFLAGS $LIBUDEV_CFLAGS" -LIBTBM_EXYNOS_LIBS="$LIBDRM_LIBS $LIBDRM_EXYNOS_LIBS $LIBTBM_LIBS $DLOG_LIBS $LIBUDEV_LIBS" +LIBTBM_EXYNOS_CFLAGS="$LIBDRM_CFLAGS $LIBDRM_EXYNOS_CFLAGS $LIBTBM_CFLAGS $DLOG_CFLAGS $LIBUDEV_CFLAGS $SYSTEM_INFO_CFLAGS" +LIBTBM_EXYNOS_LIBS="$LIBDRM_LIBS $LIBDRM_EXYNOS_LIBS $LIBTBM_LIBS $DLOG_LIBS $LIBUDEV_LIBS $SYSTEM_INFO_LIBS" AC_SUBST(LIBTBM_EXYNOS_CFLAGS) AC_SUBST(LIBTBM_EXYNOS_LIBS) diff --git a/packaging/libtbm-exynos.spec b/packaging/libtbm-exynos.spec index abdcabf..bf4ae73 100644 --- a/packaging/libtbm-exynos.spec +++ b/packaging/libtbm-exynos.spec @@ -11,6 +11,7 @@ BuildRequires: pkgconfig(libdrm_exynos) BuildRequires: pkgconfig(libtbm) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(capi-system-info) ExclusiveArch: %{arm} aarch64 %description -- 2.7.4