diff --git a/configure b/configure
index f9c9f49f9b..0d3ed0f9f8 100755
--- a/configure
+++ b/configure
@@ -2346,7 +2346,7 @@ fi
 
 pkgconfig_generate(){
 name=$1
-shortname=${name#lib}
+shortname=${name#lib}${build_suffix}
 comment=$2
 version=$3
 libs=$4