Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 139352 | Differences between
and this patch

Collapse All | Expand All

(-)icecc-create-env.orig (-2 / +2 lines)
Lines 35-42 Link Here
35
  target_files="$target_files $toadd"
35
  target_files="$target_files $toadd"
36
  if test -x "$path"; then
36
  if test -x "$path"; then
37
    # Only call ldd when it makes sense
37
    # Only call ldd when it makes sense
38
    if file "$path" | grep 'ELF' > /dev/null 2>&1; then
38
    if file -L "$path" | grep 'ELF' > /dev/null 2>&1; then
39
	if ! file "$path" | grep 'static' > /dev/null 2>&1; then
39
	if ! file -L "$path" | grep 'static' > /dev/null 2>&1; then
40
	   # ldd now outputs ld as /lib/ld-linux.so.xx on current nptl based glibc
40
	   # ldd now outputs ld as /lib/ld-linux.so.xx on current nptl based glibc
41
		# this regexp parse the outputs like:
41
		# this regexp parse the outputs like:
42
		# ldd /usr/bin/gcc
42
		# ldd /usr/bin/gcc

Return to bug 139352