help-guix
[Top][All Lists]
Advanced

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

Re: Guix packaging, dealing with pkg-config


From: Ricardo Wurmus
Subject: Re: Guix packaging, dealing with pkg-config
Date: Thu, 25 Jul 2019 09:01:08 +0200
User-agent: mu4e 1.2.0; emacs 26.2

Ekaitz at ElenQ Technology <address@hidden> writes:

> Yeah, there are in the original makefiles of sc-im:
> https://github.com/andmarti1424/sc-im/blob/freeze/src/Makefile#L124

The FreeBSD case (line 128 and following) works for me:

    $ guix environment --ad-hoc lua@5.1 pkg-config
    [env] $ pkg-config --exists lua51 && echo yes || echo no
    no
    [env] $ pkg-config --exists lua-5.1 && echo yes || echo no
    yes
    [env] $ pkg-config --cflags lua-5.1
    -I/gnu/store/yl6v5ma16ya9b6npwqlrcp9pr2gqp6dc-lua-5.1.5/include
    [env] $ pkg-config --libs lua-5.1
    -L/gnu/store/yl6v5ma16ya9b6npwqlrcp9pr2gqp6dc-lua-5.1.5/lib -llua -lm

So this works just fine.

--
Ricardo




reply via email to

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