Skip to content

configure.ac: switch to pkg-config to find gnutls.#188

Merged
Kaian merged 2 commits into
irontec:masterfrom
RomainNaour:sngrep-gnutls-static
May 22, 2017
Merged

configure.ac: switch to pkg-config to find gnutls.#188
Kaian merged 2 commits into
irontec:masterfrom
RomainNaour:sngrep-gnutls-static

Conversation

@RomainNaour
Copy link
Copy Markdown
Contributor

Like for openssl in patch [1] and for the same reason,
use pkg-config to find gnutls.

gnutls can be linked with :
-lintl -lgmp -lunistring -lhogweed -lnettle -ltasn1 -lz

Fixes:
http://autobuild.buildroot.net/results/f7f/f7fb42d3742f6f01000a0d181e0c785640284405

[1] 2563b01

Signed-off-by: Romain Naour romain.naour@gmail.com

Like for openssl in patch [1] and for the same reason,
use pkg-config to find gnutls.

gnutls can be linked with :
    -lintl -lgmp -lunistring -lhogweed -lnettle -ltasn1 -lz

Fixes:
http://autobuild.buildroot.net/results/f7f/f7fb42d3742f6f01000a0d181e0c785640284405

[1] 2563b01

Signed-off-by: Romain Naour <romain.naour@gmail.com>
gcrypt is linked with libgpg-error, use libgcrypt-config to find
this dependency. (libgcrypt doesn't provide a .pc file)

libgcrypt-config --libs
[...] -lgcrypt -lgpg-error

Signed-off-by: Romain Naour <romain.naour@gmail.com>
@RomainNaour RomainNaour force-pushed the sngrep-gnutls-static branch from 233d86d to 654379f Compare May 20, 2017 16:20
@Kaian
Copy link
Copy Markdown
Member

Kaian commented May 22, 2017

Looks good to me, thanks a lot for your contribution!!

@Kaian Kaian merged commit 22b8206 into irontec:master May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants