Skip to content

Commit

Permalink
pkgconfig: fix parsing default search path
Browse files Browse the repository at this point in the history
pkg-config 0.29 reports the scanning directory differently:

Scanning directory #3 '/usr/local/lib/pkgconfig'
instead of
Scanning directory '/usr/local/lib/pkgconfig'
  • Loading branch information
Alexander Duda authored and Alexander Duda committed Feb 19, 2016
1 parent f764866 commit 51f7d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utilrb/pkgconfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def self.each_package(regex = nil)
end


FOUND_PATH_RX = /Scanning directory '(.*\/)((?:lib|lib64|share)\/.*)'$/
FOUND_PATH_RX = /Scanning directory #?\d* ?'(.*\/)((?:lib|lib64|share)\/.*)'$/
NONEXISTENT_PATH_RX = /Cannot open directory '.*\/((?:lib|lib64|share)\/.*)' in package search path:.*/

# Returns the system-wide search path that is embedded in pkg-config
Expand Down

0 comments on commit 51f7d0f

Please sign in to comment.