mirror of
				https://github.com/termux/termux-packages.git
				synced 2025-10-31 22:45:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			544 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			544 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!@TERMUX_PREFIX@/bin/sh
 | |
| 
 | |
| PREFIX="@TERMUX_PREFIX@"
 | |
| 
 | |
| if [ `uname -o` = 'Android' ]; then
 | |
|     echo "Patching Qt installation configuration files ..."
 | |
| 
 | |
|     ## Make sure the cmake configurations point to the on-device programs instead of the host tools
 | |
|     sed -i \
 | |
|         's|install_prefix}/opt/qt/cross/|install_prefix}/|g' \
 | |
|         "${PREFIX}/lib/cmake/Qt5Help/Qt5HelpConfigExtras.cmake"
 | |
|     sed -i \
 | |
|         's|install_prefix}/opt/qt/cross/|install_prefix}/|g' \
 | |
|         "${PREFIX}/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake"
 | |
| fi
 |