Run ranlib on libvpx.a after install
libvpx strips it, which mangles the symbol index when LTO is enabled. ranlib fixes it again.
This commit is contained in:
		
							parent
							
								
									ec535f414f
								
							
						
					
					
						commit
						009c516860
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -51,6 +51,9 @@ ffbuild_dockerbuild() {
 | 
				
			||||||
    ./configure "${myconf[@]}"
 | 
					    ./configure "${myconf[@]}"
 | 
				
			||||||
    make -j$(nproc)
 | 
					    make -j$(nproc)
 | 
				
			||||||
    make install
 | 
					    make install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Work around strip breaking LTO symbol index
 | 
				
			||||||
 | 
					    "$RANLIB" "$FFBUILD_PREFIX"/lib/libvpx.a
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ffbuild_configure() {
 | 
					ffbuild_configure() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue