check pkg-config for unicorn libraries

allow for non-standard install locations of unicorn engine
This commit is contained in:
Lowly Worm
2022-05-08 19:17:36 -04:00
committed by GitHub
parent 64050aafb1
commit 1d13a25320

View File

@@ -3,6 +3,7 @@ require 'mkmf'
extension_name = 'unicorn_engine' extension_name = 'unicorn_engine'
dir_config(extension_name) dir_config(extension_name)
pkg_config('unicorn')
have_library('unicorn') have_library('unicorn')
create_makefile(extension_name) create_makefile(extension_name)