You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (Jira)" <xe...@xml.apache.org> on 2020/04/01 16:50:00 UTC

[jira] [Commented] (XERCESC-2167) Do not set SONAME when building shared libs

    [ https://issues.apache.org/jira/browse/XERCESC-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072969#comment-17072969 ] 

Scott Cantor commented on XERCESC-2167:
---------------------------------------

Strongly suggest you stick with the autoconf build for a non-Windows use case.

> Do not set SONAME when building shared libs
> -------------------------------------------
>
>                 Key: XERCESC-2167
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2167
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.2.0, 3.2.1, 3.2.2
>            Reporter: Jeroen
>            Assignee: Roger Leigh
>            Priority: Major
>             Fix For: 3.2.3
>
>
>  
> When building a static library (i.e. building with {{cmake -DBUILD_SHARED_LIBS=OFF}}, we should not set a SONAME or rename the library file. A static library should just be named libxerces-c.a and not libxerces-c-3.2.a (otherwise it won't link with -lxerces-c).
> Here is a very simple example patch: [https://patch-diff.githubusercontent.com/raw/jeroen/xerces-c/pull/1.patch]
>  
> Thank you!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org