<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mailutils.org/usqay/index.php?action=history&amp;feed=atom&amp;title=Mailutils_ldflags</id>
	<title>Mailutils ldflags - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mailutils.org/usqay/index.php?action=history&amp;feed=atom&amp;title=Mailutils_ldflags"/>
	<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_ldflags&amp;action=history"/>
	<updated>2026-10-25T10:29:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://mailutils.org/usqay/index.php?title=Mailutils_ldflags&amp;diff=398&amp;oldid=prev</id>
		<title>Gray: Created page with &quot;The &lt;tt&gt;mailutils ldflags&lt;/tt&gt; command is a counterpart of &lt;tt&gt;cflags&lt;/tt&gt; used for linking.  It constructs a [http://man.gnu.org.ua/1/ld ld](1) command line for linking a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_ldflags&amp;diff=398&amp;oldid=prev"/>
		<updated>2015-07-11T10:53:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;tt&amp;gt;&lt;a href=&quot;/wiki/Mu&quot; class=&quot;mw-redirect&quot; title=&quot;Mu&quot;&gt;mailutils&lt;/a&gt; ldflags&amp;lt;/tt&amp;gt; command is a counterpart of &amp;lt;tt&amp;gt;cflags&amp;lt;/tt&amp;gt; used for linking.  It constructs a [http://man.gnu.org.ua/1/ld ld](1) command line for linking a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;[[mu|mailutils]] ldflags&amp;lt;/tt&amp;gt; command is a counterpart of &amp;lt;tt&amp;gt;cflags&amp;lt;/tt&amp;gt; used for linking.  It constructs a [http://man.gnu.org.ua/1/ld ld](1) command line for linking a program with Mailutils.&lt;br /&gt;
&lt;br /&gt;
When used without arguments, it outputs &amp;lt;tt&amp;gt;ld&amp;lt;/tt&amp;gt; arguments which would link only with the core Mailutils library [[libmailutils]]:&lt;br /&gt;
&lt;br /&gt;
  $ mailutils ldflags&lt;br /&gt;
  -L/usr/local/lib -lmailutils &lt;br /&gt;
&lt;br /&gt;
This command accepts a number of keywords which allow to select a particular subset of Mailutils libraries to link with.  In particular, the argument &amp;lt;tt&amp;gt;all&amp;lt;/tt&amp;gt; instructs it to link in all available libraries:&lt;br /&gt;
&lt;br /&gt;
  $ mailutils ldflags all&lt;br /&gt;
  -L/usr/local/lib -lmu_mbox -lmu_mh -lmu_maildir -lmu_imap -lmu_pop \&lt;br /&gt;
  -lmu_mailer -lmu_compat -lmailutils -lmu_auth -lgsasl -lgnutls -lgcrypt \&lt;br /&gt;
  -lldap -lgnuradius -lpam -ldl &lt;br /&gt;
&lt;br /&gt;
Other available keywords are:&lt;br /&gt;
&lt;br /&gt;
;mbox&lt;br /&gt;
:Link in the UNIX mbox format support.&lt;br /&gt;
;mh&lt;br /&gt;
:Link in the MH format support.&lt;br /&gt;
;maildir&lt;br /&gt;
:Link in the Maildir format support.&lt;br /&gt;
;imap&lt;br /&gt;
:Link in the IMAP protocol support.&lt;br /&gt;
;pop&lt;br /&gt;
:Link in the POP protocol support.&lt;br /&gt;
;nntp&lt;br /&gt;
:Link in the NNTP protocol support.&lt;br /&gt;
;mailer&lt;br /&gt;
:Enable support for [[mailer]]s.&lt;br /&gt;
;sieve&lt;br /&gt;
:Link in the support for [[Sieve]] mail filtering language.&lt;br /&gt;
;dbm&lt;br /&gt;
:Link in the support for DBM databases ([[libmu_dbm]] library).&lt;br /&gt;
;compat&lt;br /&gt;
:Provide a compatibility layer for Mailutils 2.x.&lt;br /&gt;
;auth&lt;br /&gt;
:Link in the Mailutils authentication library.&lt;br /&gt;
;guile&lt;br /&gt;
:Provide [[Guile]] language bindings.&lt;br /&gt;
;python&lt;br /&gt;
:Provide [[Python]] language bindings.&lt;br /&gt;
;cfg&lt;br /&gt;
:Link in the [[libmu_cfg|Mailutils configuration library]].&lt;br /&gt;
;argp&lt;br /&gt;
:Link in the library for command line parsing.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[mailutils (utility)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:utilities]]&lt;/div&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
</feed>