From 0842637b487c04f398ecc3e3c29306bc9daad68d Mon Sep 17 00:00:00 2001 From: Nikolai Merinov Date: Wed, 6 Feb 2019 15:08:54 +0300 Subject: [PATCH] Move -DMM_DISPLAY_LIBDIR to makefile --- packaging/libmm-display.spec | 2 +- src/Makefile.am | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/libmm-display.spec b/packaging/libmm-display.spec index 925602c..f5ca2d9 100644 --- a/packaging/libmm-display.spec +++ b/packaging/libmm-display.spec @@ -53,7 +53,7 @@ Multimedia framework display library for develpment. %build -export CFLAGS+=" -D_LARGEFILE64_SOURCE -DMM_DISPLAY_LIBDIR=\\\"%{_libdir}\\\" -DEFL_BETA_API_SUPPORT" +export CFLAGS+=" -D_LARGEFILE64_SOURCE -DEFL_BETA_API_SUPPORT" ./autogen.sh %configure \ %if "%{tizen_profile_name}" != "tv" diff --git a/src/Makefile.am b/src/Makefile.am index 58b4ae4..0954178 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,7 @@ ACLOCAL_AMFLAGS='-I m4' +AM_CPPFLAGS = -DMM_DISPLAY_LIBDIR="\"$(libdir)\"" + lib_LTLIBRARIES = libmmfdisplay.la libmmfdisplay_interface.la ################### -- 2.7.4