Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 85BC740D162 for ; Mon, 1 Nov 2010 12:58:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.346 X-Spam-Level: X-Spam-Status: No, score=-0.346 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4b3kGdm4QF4w for ; Mon, 1 Nov 2010 12:58:08 -0700 (PDT) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by olra.theworths.org (Postfix) with ESMTP id 8454A40D158 for ; Mon, 1 Nov 2010 12:58:08 -0700 (PDT) Received: by iwn3 with SMTP id 3so8178681iwn.26 for ; Mon, 01 Nov 2010 12:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=ZkBpJtxEzueuZIXwndh/yuwDcQbpI95fXfsYOSVGpiM=; b=tCv9JGYNeqRTQqQLSgqCfc+W9JL4YeSZQzVGLXoJZNH2xFWK5vlZJNNLstcx11Jzc1 bpV3gRotVfFoZy8Tr9nWLWSSq3zD+SnrkHqysEDZmfgzcJpLzCvlZazkZ7L5D9t8tV5M xmKGuAhSjGbHFZXF9xxlhFdx0SCo5+j/4IIXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=L8WxFlXvPi5TjiLp4Dd08JUa2k+qbth05GUDcaAz3d8RD2zP9sAERMzHrRdIUwexEG VJ/7HsfNsy/Ogt/82upOC+vP7pQuEDohNyFk8Mm99SdR9iqDhtaPltVnnmMBfRRaXR+Z oszRlkEkHFZNJkYYIcF9TnQOlDkNhDgAta4q0= MIME-Version: 1.0 Received: by 10.231.155.132 with SMTP id s4mr251598ibw.169.1288641485495; Mon, 01 Nov 2010 12:58:05 -0700 (PDT) Sender: five9a2@gmail.com Received: by 10.231.14.69 with HTTP; Mon, 1 Nov 2010 12:58:05 -0700 (PDT) In-Reply-To: References: <1275735915-22650-1-git-send-email-felipe.contreras@gmail.com> <1275735915-22650-3-git-send-email-felipe.contreras@gmail.com> <87pqus65pv.fsf@yoom.home.cworth.org> Date: Mon, 1 Nov 2010 14:58:05 -0500 X-Google-Sender-Auth: zCGDAjr5vAiPglocha3Wdwhn0Qc Message-ID: Subject: Re: [PATCH 2/3] build: fix DSO dependencies From: Jed Brown To: Felipe Contreras Content-Type: text/plain; charset=UTF-8 Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 19:58:18 -0000 On Fri, Oct 29, 2010 at 18:17, Felipe Contreras 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