Index: Makefile
===================================================================
--- Makefile (revision 200)
+++ Makefile (revision 201)
@@ -185,6 +185,12 @@
# ======= fake LOCALES installation to allow implementation of iconv and intl into GLIBC =======
@cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 SUPPORTED-LOCALES="" \
localedata/install-locales $(env_sysroot)
+ # ======= create librt.so symlink if not exists: =======
+ @( cd $(GLIBC_PKG)/usr/lib$(LIBSUFFIX) ; \
+ if [ ! -L librt.so -a -e "../../lib$(LIBSUFFIX)/librt.so.1" ] ; then \
+ ln -sf ../../lib$(LIBSUFFIX)/librt.so.1 librt.so ; \
+ fi ; \
+ )
@touch $@
$(build_glibc_pkg): $(install_target)