Skip to content

Commit

Permalink
nokogumbo-import: update scripts/test-exported-symbols
Browse files Browse the repository at this point in the history
so that libgumbo symbols are recognized.

[skip ci]
  • Loading branch information
flavorjones committed Jun 21, 2021
1 parent 483b10c commit 87f7d63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/test-exported-symbols
Expand Up @@ -31,11 +31,13 @@ noko_so = find_that_file("lib/**/nokogiri.so")
libxml2_archive = find_that_file("ports/**/libxml2.a")
libxslt_archive = find_that_file("ports/**/libxslt.a")
libexslt_archive = find_that_file("ports/**/libexslt.a")
libgumbo_archive = find_that_file("tmp/**/libgumbo.a")

symbols = external_symbols(noko_so)
symbols -= external_symbols(libxml2_archive)
symbols -= external_symbols(libxslt_archive)
symbols -= external_symbols(libexslt_archive)
symbols -= external_symbols(libgumbo_archive)

puts "#{noko_so} exports the following surprising symbols:"
symbols.to_a.sort.each do |symbol|
Expand Down

0 comments on commit 87f7d63

Please sign in to comment.