From fd66a39bb459fed55ef00e1efd57bd3691dde17a Mon Sep 17 00:00:00 2001 From: Semun Lee Date: Thu, 10 Sep 2015 12:51:30 +0900 Subject: [PATCH 1/1] Fix wrong symbolic link path Change-Id: I7134b803f21357532443a08cbff779a2ab2691cd Signed-off-by: Semun Lee --- packaging/message-port.spec | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/message-port.spec b/packaging/message-port.spec index 89d8ce7..2073453 100644 --- a/packaging/message-port.spec +++ b/packaging/message-port.spec @@ -55,7 +55,7 @@ rm -rf %{buildroot} %files %manifest %{name}.manifest %attr(0644,root,root) %{_libdir}/lib%{name}.so.* -%attr(0644,root,root) %{_libdir}/libcapi-message-port.so +%attr(0644,root,root) %{_libdir}/libcapi-message-port.so.* %license LICENSE.APLv2 %files devel diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c5fda02..6ad05d0 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -53,7 +53,7 @@ SET(PC_REQUIRED ${${this_target}_requires}) ADD_CUSTOM_COMMAND( TARGET ${this_target} POST_BUILD - COMMAND ln -s ${LIBRARY_OUTPUT_PATH}/libmessage-port.so.${MAJORVER} ${LIBRARY_OUTPUT_PATH}/libcapi-message-port.so) + COMMAND ln -s ./libmessage-port.so.${MAJORVER} ${LIBRARY_OUTPUT_PATH}/libcapi-message-port.so.${MAJORVER}) CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${this_target}.pc.in ${CMAKE_SOURCE_DIR}/${this_target}.pc @ONLY) INSTALL(FILES ${CMAKE_SOURCE_DIR}/${this_target}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) -- 2.7.4