Package: guile-cairo / 1.12.0~pre1-2

0002-set-unit-test-lib-path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?utf-8?b?VG9tbWkgSMO2eW7DpGzDpG5tYWE=?= <tommi.hoynalanmaa@iki.fi>
Date: Sun, 22 Oct 2023 10:31:52 +0300
Subject: set-unit-test-lib-path

---
 tests/unit-tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/unit-tests/Makefile.am b/tests/unit-tests/Makefile.am
index 3ba6af9..e904e11 100644
--- a/tests/unit-tests/Makefile.am
+++ b/tests/unit-tests/Makefile.am
@@ -22,7 +22,7 @@ TESTS= \
 	version.scm
 
 TESTS_ENVIRONMENT=\
-	API_FILE=$(srcdir)/cairo.api $(top_builddir)/env guile -s
+	API_FILE=$(srcdir)/cairo.api GUILE_CAIRO_LIB_PATH=$(top_builddir)/guile-cairo/libguile-cairo $(top_builddir)/env guile -s
 
 %.api.update:
 	$(top_builddir)/env $(srcdir)/update-api $(subst ., ,$*) > $(srcdir)/$*.api