Skip to content
Snippets Groups Projects
Commit 62de53ce authored by Steve Lhomme's avatar Steve Lhomme
Browse files

automake: remove -static LDFLAGS from libraries using noinst_LTLIBRARIES

Force minimal LDFLAGS in modules otherwise we pick the flags from common.am

libvlc_adaptive.la doesn't build properly without -static, so keep it for now:

```
ld.lld: error: undefined symbol: _gcry_cipher_close
>>> referenced by libvlc_adaptive.a(libvlc_adaptive_la-CommonEncryption.o):(adaptive::encryption::CommonEncryptionSession::close())
>>> referenced by libvlc_adaptive.a(libvlc_adaptive_la-CommonEncryption.o):(adaptive::encryption::CommonEncryptionSession::start(adaptive::SharedResources*, adaptive::encryption::CommonEncryption const&))
ld.lld: error: undefined symbol: _gcry_cipher_open
>>> referenced by libvlc_adaptive.a(libvlc_adaptive_la-CommonEncryption.o):(adaptive::encryption::CommonEncryptionSession::start(adaptive::SharedResources*, adaptive::encryption::CommonEncryption const&))
ld.lld: error: undefined symbol: _gcry_cipher_setkey
>>> referenced by libvlc_adaptive.a(libvlc_adaptive_la-CommonEncryption.o):(adaptive::encryption::CommonEncryptionSession::start(adaptive::SharedResources*, adaptive::encryption::CommonEncryption const&))
ld.lld: error: undefined symbol: _gcry_cipher_setiv
>>> referenced by libvlc_adaptive.a(libvlc_adaptive_la-CommonEncryption.o):(adaptive::encryption::CommonEncryptionSession::start(adaptive::SharedResources*, adaptive::encryption::CommonEncryption const&))
ld.lld: error: undefined symbol: _gcry_check_version
>>> referenced by libvlc_adaptive.a(libvlc_adaptive_la-CommonEncryption.o):(vlc_gcrypt_init())
ld.lld: error: undefined symbol: _gcry_cipher_decrypt
>>> referenced by libvlc_adaptive.a(libvlc_adaptive_la-CommonEncryption.o):(adaptive::encryption::CommonEncryptionSession::decrypt(void*, unsigned int, bool))
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
```
parent f50b7b7d
No related branches found
No related tags found
Loading
Pipeline #570953 failed with stage
in 21 minutes and 34 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment