summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/libmariadbd-dev.install2
-rw-r--r--support-files/CMakeLists.txt4
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/libmariadbd-dev.install b/debian/libmariadbd-dev.install
index 5a4344721be..93f94126b88 100644
--- a/debian/libmariadbd-dev.install
+++ b/debian/libmariadbd-dev.install
@@ -3,4 +3,4 @@ usr/lib/*/libmariadbd.a
usr/lib/*/libmariadbd.so
usr/lib/*/libmysqld.a
usr/lib/*/libmysqld.so
-usr/lib/*/pkgconfig/mariadb.pc
+usr/lib/*/pkgconfig/mariadbd.pc
diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt
index bdcb21b08b2..c82cd8daa79 100644
--- a/support-files/CMakeLists.txt
+++ b/support-files/CMakeLists.txt
@@ -92,7 +92,9 @@ IF(UNIX AND NOT WITHOUT_SERVER)
CONFIGURE_FILE(mariadbd.pc.in ${CMAKE_CURRENT_BINARY_DIR}/mariadbd.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadbd.pc DESTINATION ${INSTALL_LIBDIR}/pkgconfig COMPONENT Development)
- EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink ./libmariadb.pc mariadb.pc)
+ EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E create_symlink ./libmariadb.pc mariadb.pc
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mariadb.pc DESTINATION ${INSTALL_LIBDIR}/pkgconfig COMPONENT Development)
INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)