guile-curl icon indicating copy to clipboard operation
guile-curl copied to clipboard

guile-curl.pc is missing

Open NalaGinrut opened this issue 1 year ago • 2 comments

It seems guile-curl.pc is missing. This causes issue in the downstream project.

Here's a reference: https://gitlab.com/hardenedlinux/artanis/-/issues/117

NalaGinrut avatar Nov 22 '23 14:11 NalaGinrut

Do you have an example of a Guile module pc file? I've never tried to make one.

spk121 avatar Nov 22 '23 16:11 spk121

I think a typical template could be this:

prefix=@prefix@
includedir=${prefix}/include
libdir=${prefix}/lib

Name: @PACKAGE_NAME@
Description: PUT YOUR DESCRIPTION HERE.
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -l@PACKAGE_NAME@
Requires: guile-3.0, libcurl
Requires.private:

You may need to name it as guile-curl.pc.in, and put it in configure.ac for generating actual pc file.

NalaGinrut avatar Nov 25 '23 17:11 NalaGinrut