unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jed Brown <jed@59A2.org>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH 2/3] build: fix DSO dependencies
Date: Mon, 1 Nov 2010 14:58:05 -0500	[thread overview]
Message-ID: <AANLkTi=THOzG7yGPT4FEgzcba9KRQD035dTYxCj18d7d@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=iMwf7tMs6C7EFb7ZMhHFfXsZvqA2SovUOsGZW@mail.gmail.com>

On Fri, Oct 29, 2010 at 18:17, Felipe Contreras
<felipe.contreras@gmail.com> wrote:
>
> Well, it's not possible: pkg-config is supposed to work on win32 and
> osx, so all the dependencies must be there, so:
>
> % pkg-config --libs gmime-2.6
> -pthread -lgmime-2.6 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0
> -lgthread-2.0 -lrt -lglib-2.0

This is what the Libs.private field is for (see the pkg-config man page).  E.g.

$ pkg-config --libs libavdevice
-lavdevice
$ pkg-config --libs --static libavdevice
-pthread -lavdevice -lavformat -lavcodec -ldl -lX11 -lXext -lXfixes
-lasound -lxvidcore -lx264 -lvpx -lvorbisenc -lvorbis -ltheoraenc
-ltheoradec -logg -lschroedinger-1.0 -lpthread -lorc-0.4 -lopenjpeg
-lopencore-amrwb -lopencore-amrnb -lmp3lame -lfaac -lva -lm -lbz2 -lz
-lavcore -lavutil

Jed

  reply	other threads:[~2010-11-01 19:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05 11:05 [PATCH 0/3] build fixes Felipe Contreras
2010-06-05 11:05 ` [PATCH 1/3] configure: check platform beforehand Felipe Contreras
2010-06-05 11:05 ` [PATCH 2/3] build: fix DSO dependencies Felipe Contreras
2010-10-29 21:37   ` Carl Worth
2010-10-29 23:17     ` Felipe Contreras
2010-11-01 19:58       ` Jed Brown [this message]
2010-06-05 11:05 ` [PATCH 3/3] configure: optimize uname finding a bit Felipe Contreras
2010-06-14 14:17 ` [PATCH 0/3] build fixes Felipe Contreras
2010-06-15 19:34   ` Dirk Hohndel
2010-07-17 12:58     ` Felipe Contreras

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

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=THOzG7yGPT4FEgzcba9KRQD035dTYxCj18d7d@mail.gmail.com' \
    --to=jed@59a2.org \
    --cc=felipe.contreras@gmail.com \
    --cc=notmuch@notmuchmail.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 public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).