From: Sangwon Ha Date: Mon, 8 Jun 2015 06:46:44 +0000 (+0900) Subject: Change gbm backend lookup directory to support 64-bit X-Git-Tag: submit/tizen_tv/20151202.065316~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b514e8d15ef3e1126162274c6cdca852c275d6c;p=platform%2Fcore%2Fuifw%2Flibgbm.git Change gbm backend lookup directory to support 64-bit Change-Id: I33208f6254147b37b33c463b11c4fc1b7ae4b31a --- 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}