Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203302 Details for
Bug 283761
sys-devel/gcc[multilib] creates bad .la files for secondary arch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
POTENTIAL patch on toolchain.eclass, untested
tc.e.patch (text/plain), 1.00 KB, created by
ferret
on 2009-09-06 18:35:25 UTC
(
hide
)
Description:
POTENTIAL patch on toolchain.eclass, untested
Filename:
MIME Type:
Creator:
ferret
Created:
2009-09-06 18:35:25 UTC
Size:
1.00 KB
patch
obsolete
>--- eclass/toolchain.eclass.orig 2009-09-06 19:15:01.000000000 +0100 >+++ eclass/toolchain.eclass 2009-09-06 19:31:35.000000000 +0100 >@@ -2483,17 +2483,24 @@ > fix_libtool_libdir_paths() { > pushd "${D}" >/dev/null > >+ local path > local dir=${LIBPATH} >- local allarchives=$(cd ./${dir}; echo *.la) >- allarchives="\(${allarchives// /\\|}\)" >+ local allarchives > >- sed -i \ >- -e "/^libdir=/s:=.*:='${dir}':" \ >- ./${dir}/*.la >- sed -i \ >- -e "/^dependency_libs=/s:/[^ ]*/${allarchives}:${LIBPATH}/\1:g" \ >- $(find ./${PREFIX}/lib* -maxdepth 3 -name '*.la') \ >- ./${dir}/*.la >+ find ./"${dir}" -name '*.la' -print | while read -r lafile; do >+ path="${lafile#./}" >+ path="${path%/*}" >+ allarchives=$(cd ./"${path}"; echo *.la) >+ allarchives="\(${allarchives// /\\|}\)" >+ >+ sed -i \ >+ -e "/^libdir=/s:=.*:='"${path}"':" \ >+ "${lafile}" >+ sed -i \ >+ -e "/^dependency_libs=/s:/[^ ]*/${allarchives}:${LIBPATH}/\1:g" \ >+ $(find ./${PREFIX}/lib* -maxdepth 3 -name '*.la') \ >+ "${lafile}" >+ done > > popd >/dev/null > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 283761
:
203264
| 203302 |
203315
|
207480
|
207970
|
207971
|
207973