--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -296,7 +296,7 @@
 configure_file(${SCALAPACK_SOURCE_DIR}/CMAKE/scalapack-config-build.cmake.in
   ${SCALAPACK_BINARY_DIR}/scalapack-config.cmake @ONLY)
 
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scalapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/scalapack.pc)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scalapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/scalapack.pc @ONLY)
  install(FILES
   ${CMAKE_CURRENT_BINARY_DIR}/scalapack.pc
   DESTINATION ${PKG_CONFIG_DIR}
--- a/scalapack.pc.in
+++ b/scalapack.pc.in
@@ -1,9 +1,9 @@
 prefix=@prefix@
-libdir=@libdir@
+libdir=${prefix}/lib@LIB_SUFFIX@
 
 Name: scalapack
 Description: SCALAPACK reference implementation
 Version: @SCALAPACK_VERSION@
 URL: http://www.netlib.org/scalapack/
 Libs: -L${libdir} -lscalapack
-Requires: mpi lapack blas
+Requires.private: msmpi openblas
