summaryrefslogtreecommitdiff
path: root/cross/cross-mips64el-unknown-linux-gnu-glibc-headers
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-23 23:15:06 +0000
committerroot <root@rshg054.dnsready.net>2012-01-23 23:15:06 +0000
commitc6c657b8bcf062b5d19eff6298b7754c11838080 (patch)
treeed6a14e27d40adfcc821fe921e95aa9e9ab4585b /cross/cross-mips64el-unknown-linux-gnu-glibc-headers
parent164067832916c8e59219e1b0f30d7d04618a536e (diff)
Mon Jan 23 23:15:06 UTC 2012
Diffstat (limited to 'cross/cross-mips64el-unknown-linux-gnu-glibc-headers')
-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'