From 1d13a253200f064ab93eae6e833efd23c974bb69 Mon Sep 17 00:00:00 2001 From: Lowly Worm Date: Sun, 8 May 2022 19:17:36 -0400 Subject: [PATCH] check pkg-config for unicorn libraries allow for non-standard install locations of unicorn engine --- bindings/ruby/unicorn_gem/ext/extconf.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/ruby/unicorn_gem/ext/extconf.rb b/bindings/ruby/unicorn_gem/ext/extconf.rb index d821f3d9..8c00bd1d 100644 --- a/bindings/ruby/unicorn_gem/ext/extconf.rb +++ b/bindings/ruby/unicorn_gem/ext/extconf.rb @@ -3,6 +3,7 @@ require 'mkmf' extension_name = 'unicorn_engine' dir_config(extension_name) +pkg_config('unicorn') have_library('unicorn') create_makefile(extension_name)