From a84340fcf48f0e593b5f751760fd6aa20c782155 Mon Sep 17 00:00:00 2001 From: seungku kim Date: Thu, 26 Mar 2015 18:34:26 +0900 Subject: [PATCH] Enable to build arm 64bit Change-Id: I7fe60fabbd5b522eb01cf78c6afe965e49c9a976 --- bt-api/CMakeLists.txt | 4 ++++ packaging/bluetooth-frwk.spec | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bt-api/CMakeLists.txt b/bt-api/CMakeLists.txt index df0b1a9..c63a231 100755 --- a/bt-api/CMakeLists.txt +++ b/bt-api/CMakeLists.txt @@ -34,7 +34,11 @@ bluetooth-scmst-api.h) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) SET(EXEC_PREFIX "\${prefix}") +IF("${ARCH}" STREQUAL "aarch64") +SET(LIBDIR "\${prefix}/lib64") +ELSE() SET(LIBDIR "\${prefix}/lib") +ENDIF("${ARCH}" STREQUAL "aarch64") SET(INCLUDEDIR "\${prefix}/include") SET(VERSION_MAJOR 1) SET(VERSION ${VERSION_MAJOR}.0.0) diff --git a/packaging/bluetooth-frwk.spec b/packaging/bluetooth-frwk.spec index 18a22f5..e4e92a8 100755 --- a/packaging/bluetooth-frwk.spec +++ b/packaging/bluetooth-frwk.spec @@ -1,3 +1,4 @@ +%bcond_with x %define _dumpdir /opt/etc/dump.d/module.d %define _varlibdir /opt/var/lib @@ -33,9 +34,9 @@ BuildRequires: pkgconfig(syspopup-caller) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(dbus-1) -#%if %{with x} -#BuildRequires: pkgconfig(utilX) -#%endif +%if %{with x} +BuildRequires: pkgconfig(utilX) +%endif BuildRequires: pkgconfig(capi-network-connection) BuildRequires: pkgconfig(libprivilege-control) -- 2.7.4