From 0fbe08ffba3f42d6c4447bd229bae4fb9e10b14b Mon Sep 17 00:00:00 2001 From: "Bernhard C. Schrenk" Date: Sun, 10 Apr 2005 13:27:45 +0000 Subject: [PATCH] Bernhard C. Schrenk, Clifford Wolf: Also activate -fPIC hack for *.a files (see http://www.rocklinux.net/lurker/message/20050404.063700.1bc699cb.html) [2005040412442625034] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5905 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- scripts/Build-Pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Build-Pkg b/scripts/Build-Pkg index 036c2e340..65fea0054 100755 --- a/scripts/Build-Pkg +++ b/scripts/Build-Pkg @@ -580,7 +580,7 @@ if [ $stagelevel -eq 0 ]; then fi if [ -f $confdir/$pkg.cache ]; then - if ! egrep -q '^\[PROVIDES].*\.so( |$)' $confdir/$pkg.cache; then + if ! egrep -q '^\[PROVIDES].*\.(so|a)( |$)' $confdir/$pkg.cache; then forcefpic="0" fi fi