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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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