summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/message-port.spec2
-rwxr-xr-xsrc/CMakeLists.txt2
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)