summaryrefslogtreecommitdiff
path: root/pkg/ffmpeg/gen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ffmpeg/gen.lua')
-rw-r--r--pkg/ffmpeg/gen.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/ffmpeg/gen.lua b/pkg/ffmpeg/gen.lua
index 6919ef9e..8fe7ecd1 100644
--- a/pkg/ffmpeg/gen.lua
+++ b/pkg/ffmpeg/gen.lua
@@ -116,6 +116,12 @@ if options.CONFIG_TLS_PROTOCOL and options.CONFIG_LIBTLS then
table.insert(sources.libavformat, '$builddir/pkg/libtls-bearssl/libtls.a.d')
end
+if options.CONFIG_TLS_PROTOCOL and options.CONFIG_OPENSSL then
+ cflags{'-isystem $builddir/pkg/libressl/include'}
+ table.insert(pkg.deps, 'pkg/libressl/headers')
+ table.insert(sources.libavformat, '$builddir/pkg/libressl/libssl.a.d')
+end
+
if options.CONFIG_LIBOPUS_ENCODER or options.CONFIG_LIBOPUS_DECODER then
cflags{'-isystem $builddir/pkg/opus/include'}
table.insert(pkg.deps, 'pkg/opus/headers')