Change-Id: I2cb6e86251baffd1d46ae8ccc20b8be42da3fc4d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
ADD_DEFINITIONS(-DLOG_TAG="CONTEXT")
-SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIC -Wl,--as-needed -Wl,--gc-section -Wl,--print-gc-section")
+SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIC -Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections")
SET(VERSION ${FULLVER})
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
%files
%manifest packaging/%{name}.manifest
-%{_libdir}/*.so*
+%{_libdir}/*.so.*
%license LICENSE
%package devel
%files devel
%{_includedir}/context-service/*/*.h
+%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc