Commit 50625bf5 authored by Richard Levitte's avatar Richard Levitte
Browse files

When building shared libraries, only ln -s when simple and full name differ

parent 44f23cd2
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -994,8 +994,10 @@ EOF
EOF
      } else {
          $recipe .= <<"EOF";
	rm -f $target
	ln -s $target_full $target
	if [ '$target' != '$target_full' ]; then \\
		rm -f $target; \\
		ln -s $target_full $target; \\
	fi
EOF
      }
  }