Skip to content

Commit

Permalink
gstaes: fixed missing symbols and rework on dependencies
Browse files Browse the repository at this point in the history
In our dynamic build winsock2 symbols are missing.
  • Loading branch information
tbeloqui authored and havardgraff committed Sep 27, 2023
1 parent a9e447d commit e383c8b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions subprojects/gst-plugins-bad/ext/aes/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ aes_sources = [
]

aes_cargs = []
aes_dep = dependency('openssl', version : '>= 1.1.0', required : get_option('aes'))
if aes_dep.found()
openssl_dep = dependency('openssl', version : '>= 1.1.0', required : get_option('aes'))
if openssl_dep.found()
aes_cargs += ['-DHAVE_OPENSSL']
else
subdir_done()
endif

winsock2_dep = cc.find_library('ws2_32', required : false)
gst_aes_deps = [gstpbutils_dep, gstvideo_dep, openssl_dep, winsock2_dep, gio_dep, libm]

gstaes = library('gstaes',
aes_sources,
c_args : gst_plugins_bad_args + aes_cargs,
link_args : noseh_link_args,
include_directories : [configinc],
dependencies : [gstpbutils_dep, gstvideo_dep,
aes_dep, gio_dep, libm],
dependencies : gst_aes_deps,
install : true,
install_dir : plugins_install_dir,
)
Expand Down

1 comment on commit e383c8b

@camilo-celis
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.