[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    [jira] [Updated] (XERCESC-2167) Do not set SONAME when building shared libs
From:       "Jeroen (JIRA)" <xerces-c-dev () xml ! apache ! org>
Date:       2019-01-26 6:02:00
Message-ID: JIRA.13211984.1548482257000.179003.1548482520186 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/XERCESC-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Jeroen updated XERCESC-2167:
----------------------------
    Description: 
  
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!

  was:
  

{{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!


> 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.2
> 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
(v7.6.3#76005)

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic