mirror of https://github.com/sipwise/kamailio.git
Upstream forced static linking of tlsa against libz.a, because they wanted to statically link towards OpenSSL (`libssl.a` and `libcrypto.a`). Hence the transitive linkage was required towards `-l:libz.a` and turns out on the debian trixie the libz isn't actually PIC-safe. See GH #4552 Change-Id: I226858505edff2a9b80fc187b87cc887e3e0613cmaster
parent
bf94ee4ac7
commit
fe5208a02e
@ -0,0 +1,11 @@
|
||||
--- a/src/modules/tlsa/Makefile
|
||||
+++ b/src/modules/tlsa/Makefile
|
||||
@@ -53,7 +53,7 @@ else
|
||||
DEFS += -I$(LIBSSL_STATIC_SRCPATH)/include
|
||||
endif
|
||||
LIBS += $(LIBSSL_STATIC_SRCPATH)/libssl.a $(LIBSSL_STATIC_SRCPATH)/libcrypto.a \
|
||||
- -l:libz.a -ldl
|
||||
+ -lz -ldl
|
||||
endif # ifneq ($(LIBSSL_STATIC_SRCLIB),yes)
|
||||
|
||||
else # ifneq ($(SSL_BUILDER),)
|
||||
Loading…
Reference in new issue