<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:21:56 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-4784] Disable shared libmongoc targets if `ENABLE_SHARED=OFF`</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4784</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;h1&gt;&lt;a name=&quot;Scope&quot;&gt;&lt;/a&gt;Scope&lt;/h1&gt;

&lt;p&gt;Disable shared libmongoc targets if the CMake option &lt;tt&gt;ENABLE_SHARED&lt;/tt&gt; is &lt;tt&gt;OFF&lt;/tt&gt;&lt;/p&gt;

&lt;h1&gt;&lt;a name=&quot;Backgroundandmotivation&quot;&gt;&lt;/a&gt;Background and motivation&lt;/h1&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4705&quot; title=&quot;Better control over static/dynamic compilation/linking&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4705&quot;&gt;&lt;del&gt;CDRIVER-4705&lt;/del&gt;&lt;/a&gt; adds a ENABLE_SHARED option. If OFF, building shared libbson targets is disabled. This is not yet applied to libmongoc.&lt;/p&gt;

&lt;p&gt;This may result simplifying the vcpkg port. The port currently includes a patch to disable the shared library build when the static library is built:&lt;br/&gt;
&lt;a href=&quot;https://github.com/microsoft/vcpkg/blob/ac2a14f35fcd57d7a38f09af75dd5258e96dd6ac/ports/libbson/disable-dynamic-when-static.patch&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/microsoft/vcpkg/blob/ac2a14f35fcd57d7a38f09af75dd5258e96dd6ac/ports/libbson/disable-dynamic-when-static.patch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;IIUC vcpkg expects only shared or static libraries are built (but not both). Refer:&lt;br/&gt;
&lt;a href=&quot;https://learn.microsoft.com/en-us/vcpkg/contributing/maintainer-guide#choose-either-static-or-shared-binaries&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://learn.microsoft.com/en-us/vcpkg/contributing/maintainer-guide#choose-either-static-or-shared-binaries&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2502286">CDRIVER-4784</key>
            <summary>Disable shared libmongoc targets if `ENABLE_SHARED=OFF`</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Nov 2023 18:07:04 +0000</created>
                <updated>Thu, 7 Dec 2023 16:43:53 +0000</updated>
                            <resolved>Wed, 6 Dec 2023 19:19:25 +0000</resolved>
                                                    <fixVersion>1.25.3</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5930642" author="xgen-internal-githook" created="Wed, 6 Dec 2023 19:19:12 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4784&quot; title=&quot;Disable shared libmongoc targets if `ENABLE_SHARED=OFF`&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4784&quot;&gt;&lt;del&gt;CDRIVER-4784&lt;/del&gt;&lt;/a&gt; Disable shared libmongoc targets if `ENABLE_SHARED=OFF` (#1486)&lt;br/&gt;
Branch: r1.25&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/d9940cd9990bc67e3804ef5cb7c090542875cae9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/d9940cd9990bc67e3804ef5cb7c090542875cae9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5930641" author="xgen-internal-githook" created="Wed, 6 Dec 2023 19:18:30 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4784&quot; title=&quot;Disable shared libmongoc targets if `ENABLE_SHARED=OFF`&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4784&quot;&gt;&lt;del&gt;CDRIVER-4784&lt;/del&gt;&lt;/a&gt; Disable shared libmongoc targets if `ENABLE_SHARED=OFF` (#1486)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/54f737ea488caadac0cf9275c4be1fbb37cf5609&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/54f737ea488caadac0cf9275c4be1fbb37cf5609&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2418142">CDRIVER-4705</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1k1p:fn9</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>