 Makefile.am           |  4 ++--
 configure.ac          |  2 +-
 libcares-static.pc.cmake | 11 +++++++++++
 libcares.pc.cmake        |  2 +-
 4 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/libcares-static.pc.cmake b/libcares-static.pc.cmake
new file mode 100644
index 0000000..4612712
--- /dev/null
+++ b/libcares-static.pc.cmake
@@ -0,0 +1,11 @@
+#***************************************************************************
+# Project        ___       __ _ _ __ ___  ___ 
+#               / __|____ / _` | '__/ _ \/ __|
+#              | (_|_____| (_| | | |  __/\__ \
+#               \___|     \__,_|_|  \___||___/
+#
+Name: c-ares-static
+URL: http://daniel.haxx.se/projects/c-ares/
+Description: asynchronous DNS lookup library
+Version: @CARES_VERSION@
+Cflags: -DCARES_STATICLIB
diff --git a/libcares.pc.cmake b/libcares.pc.cmake
index e757c1b..99fdbba 100644
--- a/libcares.pc.cmake
+++ b/libcares.pc.cmake
@@ -14,7 +14,7 @@ URL: http://daniel.haxx.se/projects/c-ares/
 Description: asynchronous DNS lookup library
 Version: @CARES_VERSION@
 Requires: 
-Requires.private: 
-Cflags: -I${includedir} @CPPFLAG_CARES_STATICLIB@
+Requires.private: libcares-static
+Cflags: -I${includedir}
 Libs: -L${libdir} -lcares
 Libs.private: @CARES_PRIVATE_LIBS@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e757c1b..99fdbba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -621,7 +621,9 @@
 		ENDFOREACH ()
 	ENDIF ()
 	CONFIGURE_FILE("libcares.pc.cmake" "libcares.pc" @ONLY)
+	CONFIGURE_FILE("libcares-static.pc.cmake" "libcares-static.pc" @ONLY)
 	INSTALL (FILES "${CMAKE_CURRENT_BINARY_DIR}/libcares.pc" COMPONENT Devel DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+	INSTALL (FILES "${CMAKE_CURRENT_BINARY_DIR}/libcares-static.pc" COMPONENT Devel DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
 ENDIF ()
 
 
