uriparser / uriparser

:hocho: Strictly RFC 3986 compliant URI parsing and handling library written in C89; moved from SourceForge to GitHub

Home Page:https://uriparser.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build shared and static libraries

JoergFF opened this issue · comments

Hello Sebastian,

for some reasons we need shared and static libraries (See [1]).

Can you please implement this?

CU
Jörg

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996253

Hi @JoergFF, to my best knowledge building twice — once with -DBUILD_SHARED_LIBS=ON and once with -DBUILD_SHARED_LIBS=OFF — is the usual downstream approach to achieve what you are asking. It should work out of the box without modifications to the build system. Are there reasons this won't work for Debian? How do other packages in Debian handle this situation?

@JoergFF what do you think?

@JoergFF do you have a minute?

Closing as answered at #157 (comment) , happy to re-open as needed.