diff mbox series

[1/1] package/swipl: host-swipl needs host-zlib

Message ID 20240806220250.525433-1-ju.o@free.fr
State Accepted
Headers show
Series [1/1] package/swipl: host-swipl needs host-zlib | expand

Commit Message

Julien Olivain Aug. 6, 2024, 10:02 p.m. UTC
host-swipl fails to configure with CMake error message:

    Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)

This commit fixes the issue by adding the missing host-zlib
dependency.

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested in:
https://gitlab.com/jolivain/buildroot/-/jobs/7520944006
---
 package/swipl/swipl.mk | 2 ++
 1 file changed, 2 insertions(+)

Comments

Thomas Petazzoni Aug. 7, 2024, 10:04 a.m. UTC | #1
On Wed,  7 Aug 2024 00:02:50 +0200
Julien Olivain <ju.o@free.fr> wrote:

> host-swipl fails to configure with CMake error message:
> 
>     Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
> 
> This commit fixes the issue by adding the missing host-zlib
> dependency.
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Patch tested in:
> https://gitlab.com/jolivain/buildroot/-/jobs/7520944006
> ---
>  package/swipl/swipl.mk | 2 ++
>  1 file changed, 2 insertions(+)

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/swipl/swipl.mk b/package/swipl/swipl.mk
index 9ba841084e..595f5e975b 100644
--- a/package/swipl/swipl.mk
+++ b/package/swipl/swipl.mk
@@ -9,6 +9,8 @@  SWIPL_SITE = https://www.swi-prolog.org/download/stable/src
 SWIPL_LICENSE = BSD-2-Clause
 SWIPL_LICENSE_FILES = LICENSE
 
+HOST_SWIPL_DEPENDENCIES = host-zlib
+
 SWIPL_DEPENDENCIES = host-swipl zlib
 
 # A host-swipl is needed to compile the target prolog boot