From: Ricardo Wurmus <rekado@elephly.net>
To: Ekaitz at ElenQ Technology <ekaitz@elenq.tech>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Guix packaging, dealing with pkg-config
Date: Thu, 25 Jul 2019 09:01:08 +0200 [thread overview]
Message-ID: <87h87aa98r.fsf@elephly.net> (raw)
In-Reply-To: <NOVjd2xq61u1PWe_dEXJ-91XOXxs7WnHtlrLYqYV_LWZawXZJH2XDli3A4y1zk1LAijoAHI9ZC_w8vNUHL9aNQJhvJWMjwDDDrelxWnb3w0=@elenq.tech>
Ekaitz at ElenQ Technology <ekaitz@elenq.tech> 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
next prev parent reply other threads:[~2019-07-25 7:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-24 9:15 Guix packaging, dealing with pkg-config Ekaitz at ElenQ Technology
2019-07-24 13:31 ` Ricardo Wurmus
2019-07-24 13:38 ` Ekaitz at ElenQ Technology
2019-07-24 18:07 ` Ricardo Wurmus
2019-07-25 1:49 ` Ekaitz at ElenQ Technology
2019-07-25 7:01 ` Ricardo Wurmus [this message]
2019-07-25 11:19 ` Ekaitz at ElenQ Technology
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h87aa98r.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=ekaitz@elenq.tech \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.