From 8b514e8d15ef3e1126162274c6cdca852c275d6c Mon Sep 17 00:00:00 2001 From: Sangwon Ha Date: Mon, 8 Jun 2015 15:46:44 +0900 Subject: [PATCH] Change gbm backend lookup directory to support 64-bit Change-Id: I33208f6254147b37b33c463b11c4fc1b7ae4b31a --- Makefile | 2 +- packaging/libgbm.spec | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7c07759..7caa560 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ CFLAGS += -Wall -ludev -fPIC GBM_BACKENDS_DIR = $(SRC_DIR)/backends #gbm backend module location -CFLAGS += -DMODULEDIR='"/usr/lib/gbm"' +CFLAGS += -DMODULEDIR='"$(libdir)/gbm"' #gbm main source GBM_SRCS += \ diff --git a/packaging/libgbm.spec b/packaging/libgbm.spec index 2a5c7f2..e125232 100644 --- a/packaging/libgbm.spec +++ b/packaging/libgbm.spec @@ -30,7 +30,8 @@ Development header files for use with Wayland GBM %build export GBM_SO_VER=%{version} -make +make clean +make libdir=%{_libdir} %install mkdir -p %{buildroot}%{_includedir} -- 2.34.1