Lines 245-250
Link Here
|
245 |
mkinstall || die "Install failed" |
245 |
mkinstall || die "Install failed" |
246 |
fi |
246 |
fi |
247 |
|
247 |
|
|
|
248 |
# Remove libraries that are now mapped to libthr. Even though libmap.conf |
249 |
# remaps these older threading libs, the old symbols can still get pulled |
250 |
# in and used, causing nasty crashes. |
251 |
rm "${D}"/usr/lib/libpthread.a |
252 |
dosym libthr.a /usr/lib/libpthread.a |
253 |
rm "${D}"/usr/lib/libpthread.so |
254 |
dosym libthr.so /usr/lib/libpthread.so |
255 |
rm "${D}"/usr/lib/libc_r.a |
256 |
dosym libthr.a /usr/lib/libc_r.a |
257 |
rm "${D}"/usr/lib/libc_r.so |
258 |
dosym libthr.so /usr/lib/libc_r.so |
259 |
|
248 |
# Don't install the rest of the configuration files if crosscompiling |
260 |
# Don't install the rest of the configuration files if crosscompiling |
249 |
[[ ${CTARGET} != ${CHOST} ]] && return 0 |
261 |
[[ ${CTARGET} != ${CHOST} ]] && return 0 |
250 |
|
262 |
|