From a19ef9cf930f701ba369100ceae3827351b9108f Mon Sep 17 00:00:00 2001 From: Alessandro Zummo Date: Fri, 6 Oct 2023 12:44:29 -0700 Subject: [PATCH] Add a candidate with LIBSUFFIX --- lib/pycall/libpython/finder.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pycall/libpython/finder.rb b/lib/pycall/libpython/finder.rb index ddfcc85..3214d3e 100644 --- a/lib/pycall/libpython/finder.rb +++ b/lib/pycall/libpython/finder.rb @@ -73,6 +73,7 @@ def candidate_names(python_config) if python_config[:LIBRARY] ext = File.extname(python_config[:LIBRARY]) names << python_config[:LIBRARY].delete_suffix(ext) + suffix + names << python_config[:LIBRARY].delete_suffix(ext) + ".#{LIBSUFFIX}" end dlprefix = if windows? then "" else "lib" end sysdata = {