Probably that means you need to add `depends_on 'pkg-config' => :build`.