mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	fix library bundling when host libraries reside in /lib/tls/ or similar
SVN-Revision: 33353
This commit is contained in:
		
							parent
							
								
									caa66bd150
								
							
						
					
					
						commit
						c70e919ae8
					
				@ -74,16 +74,12 @@ for BIN in "$@"; do
 | 
				
			|||||||
				*) echo " * lib: ${token##*/}" ;;
 | 
									*) echo " * lib: ${token##*/}" ;;
 | 
				
			||||||
			esac
 | 
								esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			dest="$DIR/bundled/lib/${token#*/lib*/}"
 | 
								dest="$DIR/bundled/lib/${token##*/}"
 | 
				
			||||||
			ddir="${dest%/*}"
 | 
								ddir="${dest%/*}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			[ -f "$token" -a ! -f "$dest" ] && {
 | 
								[ -f "$token" -a ! -f "$dest" ] && {
 | 
				
			||||||
				_md "$ddir"
 | 
									_md "$ddir"
 | 
				
			||||||
				_cp "$token" "$dest"
 | 
									_cp "$token" "$dest"
 | 
				
			||||||
 | 
					 | 
				
			||||||
				case "$token" in */tls/*.so*)
 | 
					 | 
				
			||||||
					_cp "${token%/tls/*}/${token##*/}" "$DIR/bundled/lib/${token##*/}"
 | 
					 | 
				
			||||||
				;; esac
 | 
					 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		;; esac
 | 
							;; esac
 | 
				
			||||||
	done
 | 
						done
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user