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

452 Commits   2 Branches   1 Tag
Index: Makefile
===================================================================
--- Makefile	(revision 384)
+++ Makefile	(revision 385)
@@ -152,6 +152,11 @@
 	@( cd $(SDL2_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
 	   sed -i "s,$(TARGET_DEST_DIR),,g" libSDL2.la libSDL2main.la libSDL2_test.la ; \
 	 )
+	# ======= tune library path in the CMake config =======
+	@( cd $(SDL2_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/cmake ; \
+	   sed -i 's,/usr/bin,$${exec_prefix}/bin,g' SDL2/sdl2-config.cmake ; \
+	   sed -i 's,/usr/lib,$${prefix}/lib,g'      SDL2/sdl2-config.cmake ; \
+	 )
 	# ======= Install the same to $(TARGET_DEST_DIR) =======
 	$(call install-into-devenv, $(SDL2_32_PKG))
 	# ======= tune libtool *.la search path to the target destination for development =======