chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal: using pkg-config for foreign dependencies in .egg-files


From: felix . winkelmann
Subject: Re: Proposal: using pkg-config for foreign dependencies in .egg-files
Date: Mon, 23 Sep 2024 19:57:07 +0200

> That is well spotted, Mario! (foreign-dependencies ...) would always just
> affect the current (csc-options ...), so perhaps doesn't deserve its own
> property.
>
> I still think there is some level of usefulness in pkg-config: The hope is
> that its package identifier names are consistent across all systems.
> If that is the case, I'd expect it to be a worthy optional build-time
> dependency. I started looking into how pkg-config package identifiers might
> differ but
> did not complete any exhaustive search. I'll post updates here if I get
> around to checking various pkg-config identifiers against different
> OSes/distributions.
>
> I wonder if it wouldn't be too confusing to then just replace
>    (foreign-dependencies (pkg-config <pkg>))
> with, for example,
>    (csc-options "-O3" (pkg-config <pkg>))

That certainly looks nicer. But the "foreign-dependencies" more obviously
declares the dependency on the external package, which makes it easier
to spot what's going on and helps tools that process .egg files.


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]