summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-12 07:39:23 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-12 07:39:23 -0300
commit9fb1c7dc4cc6eccb95a45ec62401d2b0d1eee6d1 (patch)
treecd80a6701a0317eb2ff8f20526d8e81b23488887
parentdac9999f3f85018009254b2a60c3419d94517715 (diff)
cross-binutils: fixing library path
-rw-r--r--~coadde/cross-binutils/PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/~coadde/cross-binutils/PKGBUILD b/~coadde/cross-binutils/PKGBUILD
index f7750d5ae..d13e82ca8 100644
--- a/~coadde/cross-binutils/PKGBUILD
+++ b/~coadde/cross-binutils/PKGBUILD
@@ -131,7 +131,6 @@ prepare() {
build() {
cd ${srcdir}/${_pkgname}-build
- msg "The 'lib64(lib)' and 'lib(lib32)' will be fixed on _target-binutils() on ldscripts files"
[[ $CARCH != ${_CARCH} ]] && _TARGET="--target=${_target}"
if [[ $CARCH == x86_64 ||
$CARCH == mips64el ||
@@ -139,9 +138,9 @@ build() {
$CARCH == aarch64_be ||
$CARCH == sparc64 ||
$CARCH == ia64 ]]; then
- _LIB_PATH="--with-lib-path=/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib:/usr/${_target}/lib64:/usr/${_target}/lib"
+ _LIB_PATH="--with-lib-path=/usr/lib:/usr/lib32:/usr/local/lib:/usr/local/lib32:/usr/${_target}/lib:/usr/${_target}/lib32"
else
- _LIB_PATH="--with-lib-path=/usr/lib32:/usr/local/lib32:/usr/${_target}/lib32"
+ _LIB_PATH="--with-lib-path=/usr/lib:/usr/local/lib:/usr/${_target}/lib"
fi
if [[ ${_multilib} == "yes" ]]; then