mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 21:09:42 +02:00
[toolchain] uClibc: remove absolute path linking to host libraries in libpthread.so (closes: #5601)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17814 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
859269f596
commit
cb79a73105
@ -103,15 +103,15 @@ define Host/Compile
|
|||||||
$(UCLIBC_MAKE) PREFIX="$(TOOLCHAIN_DIR)/" install_runtime install_dev
|
$(UCLIBC_MAKE) PREFIX="$(TOOLCHAIN_DIR)/" install_runtime install_dev
|
||||||
ln -sf ../../lib/libc.so.0 $(TOOLCHAIN_DIR)/usr/lib/libc.so
|
ln -sf ../../lib/libc.so.0 $(TOOLCHAIN_DIR)/usr/lib/libc.so
|
||||||
$(CP) $(HOST_BUILD_DIR)/libc/libc_so.a $(TOOLCHAIN_DIR)/usr/lib/
|
$(CP) $(HOST_BUILD_DIR)/libc/libc_so.a $(TOOLCHAIN_DIR)/usr/lib/
|
||||||
# ( cd $(TOOLCHAIN_DIR) ; \
|
( cd $(TOOLCHAIN_DIR) ; \
|
||||||
# for d in lib usr/lib ; do \
|
for d in lib usr/lib ; do \
|
||||||
# for f in libc.so libpthread.so libgcc_s.so ; do \
|
for f in libc.so libpthread.so libgcc_s.so ; do \
|
||||||
# if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
|
if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
|
||||||
# $(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
|
$(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
|
||||||
# fi \
|
fi \
|
||||||
# done \
|
done \
|
||||||
# done \
|
done \
|
||||||
# )
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
|
Loading…
Reference in New Issue
Block a user