summaryrefslogtreecommitdiff
path: root/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cross/cross-mips64el-unknown-linux-gnu-glibc-headers/PKGBUILD')
-rw-r--r--cross/cross-mips64el-unknown-linux-gnu-glibc-headers/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/PKGBUILD b/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/PKGBUILD
index a83a1238a..7fed7839a 100644
--- a/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/PKGBUILD
+++ b/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/PKGBUILD
@@ -21,7 +21,7 @@ url="http://www.gnu.org/software/libc"
license=('GPL' 'LGPL')
groups=("${_target}-devel")
depends=("${_target}-linux-api-headers>=3.1.6" 'tzdata')
-makedepends=("cross-${_target}-binutils"
+makedepends=("${_target}-binutils"
"cross-${_target}-gcc-core")
options=('!strip')
install=glibc.install
@@ -187,8 +187,12 @@ package() {
# This will help gcc-shared to find headers for libgcc2
msg2 "Symlinking headers"
- rm -r ${pkgdir}${_sysroot}/include
+# rm -r ${pkgdir}${_sysroot}/include
ln -s ${_sysroot}/usr/include ${pkgdir}${_sysroot}/include
+ ln -s ${_sysroot}/usr/lib/crt1.o ${pkgdir}${_sysroot}/lib/
+ ln -s ${_sysroot}/usr/lib/crti.o ${pkgdir}${_sysroot}/lib/
+ ln -s ${_sysroot}/usr/lib/crtn.o ${pkgdir}${_sysroot}/lib/
+ ln -s ${_sysroot}/usr/lib/libc.so ${pkgdir}${_sysroot}/lib/
}
md5sums=('6ffdf5832192b92f98bdd125317c0dfc'