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.