trickle: fix build with newer glibc
This commit is contained in:
		
							parent
							
								
									1d265ec71c
								
							
						
					
					
						commit
						47e3a327f5
					
				@ -17,6 +17,7 @@ MYOPTIONS=""
 | 
			
		||||
DEPENDENCIES="
 | 
			
		||||
    build+run:
 | 
			
		||||
        dev-libs/libevent:=
 | 
			
		||||
        net-libs/libtirpc
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
BUGS_TO="hasufell@posteo.de"
 | 
			
		||||
@ -27,3 +28,10 @@ DEFAULT_SRC_PREPARE_PATCHES=(
 | 
			
		||||
    "${FILES}"/fix-install.patch
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
src_prepare(){
 | 
			
		||||
    CFLAGS+=" -I/usr/$(exhost --target)/include/tirpc"
 | 
			
		||||
    LDFLAGS+=" -ltirpc"
 | 
			
		||||
 | 
			
		||||
    autotools_src_prepare
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user