From 648331dda85ec4de1ef3ee2c07d5dead0c22c61f Mon Sep 17 00:00:00 2001 From: Kooda Date: Wed, 3 Mar 2021 11:49:57 +0100 Subject: [PATCH] =?UTF-8?q?chicken-install:=20don=E2=80=99t=20try=20to=20g?= =?UTF-8?q?enerate=20build=20commands=20for=20data=20components?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- egg-compile.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/egg-compile.scm b/egg-compile.scm index be05f6a6..a4c4bf0c 100644 --- a/egg-compile.scm +++ b/egg-compile.scm @@ -526,9 +526,14 @@ (if (memq 'static link) (list (apply compile-static-object data)) '()))))) - (else - (let ((data (assq id genfiles))) - (list (apply compile-generated-file data)))))) + ((assq id genfiles) => + (lambda (data) + (list (apply compile-generated-file data)))) + ((or (assq id data) + (assq id cinc) + (assq id scminc)) + '()) ;; nothing to build for data components + (else (error "Error in chicken-install, don't know how to build component" id)))) order) ;; installation commands (append -- 2.30.0