[jira] [Assigned] (XERCESC-2167) Do not set SONAME when building shared libs
"Roger Leigh (Jira)" <[email protected]> Wed, 26 Apr 2023 21:07:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.xerces-c.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/XERCESC-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Leigh reassigned XERCESC-2167:
------------------------------------
Assignee: (was: Roger Leigh)
> 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, 3.2.3
> Reporter: Jeroen
> Priority: Major
>
>
> 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.20.10#820010)