From 1bf75aec8e0d6221a037f19b8430dd81faa0500b Mon Sep 17 00:00:00 2001
From: Anatoly Nenashev <nenashev_as@mail.ru>
Date: Wed, 18 Aug 2010 10:57:48 +0000
Subject: [PATCH] Fix configure .pc files generation and make install when
 --build-suffix is used.

Patch by Anatoly Nenashev ${surname}_as@mail.ru.

Originally committed as revision 24821 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 993d18ab9f4..9b86247879c 100755
--- a/configure
+++ b/configure
@@ -3217,7 +3217,7 @@ comment=$2
 version=$3
 libs=$4
 requires=$5
-enabled $shortname || return 0
+enabled ${name#lib} || return 0
 cat <<EOF > $name/$name.pc
 prefix=$prefix
 exec_prefix=\${prefix}
-- 
GitLab