From fddb1e35fc9c6ff2ce647f5b4c9248e80ec94a99 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Sat, 28 Jan 2023 17:25:04 -0800 Subject: [PATCH] Unbreak pkg-config detection of python. pkg-config:cflags and pkg-config:libs return lists, not strings. Also it looks like when I added the pkg-config support, I misspelled Python.h. --- build.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.scm b/build.scm index 59e8051..b0303fe 100644 --- a/build.scm +++ b/build.scm @@ -22,7 +22,7 @@ (define (python-pkg-config-test package) (and-let* ((cflags (pkg-config:cflags package)) (libs (pkg-config:libs package))) - (python-test ("" cflags libs)))) + (python-test ("" (string-join cflags " " 'infix) (string-join libs " " 'infix))))) (define cpp+ld-options (let ((cflags (get-environment-variable "PYTHON_CFLAGS"))