Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
Index: radix-1.9/X11/libs/gnome-desktop/44.0/Makefile
===================================================================
--- radix-1.9/X11/libs/gnome-desktop/44.0/Makefile	(revision 200)
+++ radix-1.9/X11/libs/gnome-desktop/44.0/Makefile	(revision 201)
@@ -277,6 +277,11 @@
 	@( cd $(build_dir) ; \
 	   sed -i '/COMMAND = /s, /usr/bin/g-ir-scanner , $(python_environment) $(TARGET_DEST_DIR)/usr/bin/g-ir-scanner-wrapper ,g' build.ninja ; \
 	 )
+	@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+	   if [ -e "../../lib$(LIBSUFFIX)/librt.so.1" ] ; then \
+	     ln -sf ../../lib$(LIBSUFFIX)/librt.so.1 librt.so ; \
+	   fi ; \
+	 )
 	@( cd $(build_dir) ; env -i ninja -v )
 	@touch $@
 
Index: radix-1.9/libs/glibc/2.37/Makefile
===================================================================
--- radix-1.9/libs/glibc/2.37/Makefile	(revision 200)
+++ radix-1.9/libs/glibc/2.37/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)
Index: radix-1.9/libs/glibc/2.37-ppc32/Makefile
===================================================================
--- radix-1.9/libs/glibc/2.37-ppc32/Makefile	(revision 200)
+++ radix-1.9/libs/glibc/2.37-ppc32/Makefile	(revision 201)
@@ -136,6 +136,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_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+	   if [ ! -L librt.so -a -e "../../lib$(MULTILIB_PPC32_SUFFIX)/librt.so.1" ] ; then \
+	     ln -sf ../../lib$(MULTILIB_PPC32_SUFFIX)/librt.so.1 librt.so ; \
+	   fi ; \
+	 )
 	@touch $@
 
 $(build_glibc32_pkg): $(install_target)
Index: radix-1.9/libs/glibc/2.37-x86_32/Makefile
===================================================================
--- radix-1.9/libs/glibc/2.37-x86_32/Makefile	(revision 200)
+++ radix-1.9/libs/glibc/2.37-x86_32/Makefile	(revision 201)
@@ -133,6 +133,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_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+	   if [ ! -L librt.so -a -e "../../lib$(MULTILIB_X86_32_SUFFIX)/librt.so.1" ] ; then \
+	     ln -sf ../../lib$(MULTILIB_X86_32_SUFFIX)/librt.so.1 librt.so ; \
+	   fi ; \
+	 )
 	@touch $@
 
 $(build_glibc32_pkg): $(install_target)