Fix the path to fontconfig configuration file
instead of using the install prefix + /etc or /var Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
		
							parent
							
								
									193f55691b
								
							
						
					
					
						commit
						a6e38b38fd
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
					@ -22,7 +22,13 @@ ffbuild_dockerbuild() {
 | 
				
			||||||
        --enable-static
 | 
					        --enable-static
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if [[ $TARGET == win* || $TARGET == linux* ]]; then
 | 
					    if [[ $TARGET == linux* ]]; then
 | 
				
			||||||
 | 
					        myconf+=(
 | 
				
			||||||
 | 
					            --sysconfdir=/etc
 | 
				
			||||||
 | 
					            --localstatedir=/var
 | 
				
			||||||
 | 
					            --host="$FFBUILD_TOOLCHAIN"
 | 
				
			||||||
 | 
					        )
 | 
				
			||||||
 | 
					    elif [[ $TARGET == win* ]]; then
 | 
				
			||||||
        myconf+=(
 | 
					        myconf+=(
 | 
				
			||||||
            --host="$FFBUILD_TOOLCHAIN"
 | 
					            --host="$FFBUILD_TOOLCHAIN"
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue