[Bug #19967] Ignore library before build

This commit is contained in:
Nobuyoshi Nakada 2023-10-21 23:47:29 +09:00
parent 38b79b05fd
commit 361bce8d2c
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -13,7 +13,7 @@ end
env or next
e = ENV[env] or next
e = e.split(File::PATH_SEPARATOR)
path = File.realpath(path, builddir)
path = File.realpath(path, builddir) rescue next
e.delete(path) or next
ENV[env] = (e.join(File::PATH_SEPARATOR) unless e.empty?)
end