dpkg-cross:606 change if ($lv =~ /^[^\/]/) { to if ($lv ne "." and $lv =~ /^[^\/]/) { I do not know if this is correct or not, but with out it, the link points to "/usr/include/."