uClibc: remove absolute path linking to host libraries in libpthread.so (closes:...
authorNicolas Thill <nico@openwrt.org>
Fri, 2 Oct 2009 00:18:16 +0000 (00:18 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 2 Oct 2009 00:18:16 +0000 (00:18 +0000)
SVN-Revision: 17814

toolchain/uClibc/Makefile

index 7206df27200c0ae2d1954397ed29a6f4d28a7f17..1d18bffb4915f0675991e1e4fa43e855a615749c 100644 (file)
@@ -103,15 +103,15 @@ define Host/Compile
        $(UCLIBC_MAKE) PREFIX="$(TOOLCHAIN_DIR)/" install_runtime install_dev
        ln -sf ../../lib/libc.so.0 $(TOOLCHAIN_DIR)/usr/lib/libc.so
        $(CP) $(HOST_BUILD_DIR)/libc/libc_so.a $(TOOLCHAIN_DIR)/usr/lib/
-#      ( cd $(TOOLCHAIN_DIR) ; \
-#              for d in lib usr/lib ; do \
-#                for f in libc.so libpthread.so libgcc_s.so ; do \
-#                  if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
-#                    $(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
-#                  fi \
-#                done \
-#              done \
-#      )
+       ( cd $(TOOLCHAIN_DIR) ; \
+               for d in lib usr/lib ; do \
+                 for f in libc.so libpthread.so libgcc_s.so ; do \
+                   if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
+                     $(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
+                   fi \
+                 done \
+               done \
+       )
 endef
 
 define Host/Install