diff --git a/testing/glog/APKBUILD b/testing/glog/APKBUILD
index 6a2aa72c675c871a1a55f4251fdd251a8eb638a9..7b6850666106e9d189256aad54f6b0b6fdbc90c0 100644
--- a/testing/glog/APKBUILD
+++ b/testing/glog/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: David Huffman <storedbox@outlook.com>
 pkgname=glog
 pkgver=0.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="C++ implementation of the Google logging module"
 options="!check" # Tests fail to compile on aarch64 armhf and armv7
 url="https://github.com/google/glog"
@@ -35,4 +35,4 @@ package() {
 	make -C build DESTDIR="$pkgdir" install
 }
 sha512sums="b585f1819ade2075f6b61dc5aaca5c3f9d25601dba2bd08b6c49b96ac5f79db23c6b7f2042df003f7130497dd7241fcaa8b107d1f97385cb66ce52d3c554b176  glog-0.4.0.tar.gz
-316de55003e4724427e7516bde98a70e7a0b75dbff91248e75fcc9c21d7b2a9d4c35b41fedd49ce4ba34f6480a31ba421948c750db17cd8ada299a2718673bd8  pc-file.patch"
+fd58efd42b299bb2e7c38af9c900f3ae454a99fea2a9b7b20bea50347bde663127ab0c19b5f5b3fb69ed5e8e19a7b43eb173332fe993f7e1cba66bf99921a870  pc-file.patch"
diff --git a/testing/glog/pc-file.patch b/testing/glog/pc-file.patch
index bbb1e9ef8f7f16a291c935f69b0e8d92de87a052..13586ff29a02e53abd2b3211fdcffbea55a5b5cc 100644
--- a/testing/glog/pc-file.patch
+++ b/testing/glog/pc-file.patch
@@ -13,18 +13,18 @@ index 808330e..0b5aaff 100644
 +endif ()
 +
 +if (PKGCONFIG_INSTALL_DIR)
-+  configure_file ("cmake/glog.pc.in" "${PROJECT_BINARY_DIR}/${CPACK_PACKAGE_NAME}.pc" @ONLY)
-+  install (FILES "${PROJECT_BINARY_DIR}/${CPACK_PACKAGE_NAME}.pc" DESTINATION "${PKGCONFIG_INSTALL_DIR}")
++  configure_file ("cmake/libglog.pc.in" "${PROJECT_BINARY_DIR}/lib${CPACK_PACKAGE_NAME}.pc" @ONLY)
++  install (FILES "${PROJECT_BINARY_DIR}/lib${CPACK_PACKAGE_NAME}.pc" DESTINATION "${PKGCONFIG_INSTALL_DIR}")
 +endif ()
 +
  configure_package_config_file (glog-config.cmake.in
    ${CMAKE_CURRENT_BINARY_DIR}/glog-config.cmake
    INSTALL_DESTINATION ${_glog_CMake_INSTALLDIR}
-diff --git a/cmake/glog.pc.in b/cmake/glog.pc.in
+diff --git a/cmake/libglog.pc.in b/cmake/libglog.pc.in
 new file mode 100644
 index 0000000..98b54bb
 --- /dev/null
-+++ b/cmake/glog.pc.in
++++ b/cmake/libglog.pc.in
 @@ -0,0 +1,10 @@
 +prefix=@CMAKE_INSTALL_PREFIX@
 +exec_prefix=${prefix}