Skip to content

Commit

Permalink
Add Android libs when static linking
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries committed Jul 31, 2024
1 parent 6ee96ea commit 50f7365
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/ffmpeg/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,8 @@ def _add_component(name, dependencies):
avdevice.frameworks.append("AVFoundation")
if self.options.get_safe("with_audiotoolbox"):
avdevice.frameworks.append("CoreAudio")
if self.settings.os == "Android" and not self.options.shared:
avdevice.system_libs.extend(["android", "camera2ndk", "mediandk"])

if self.options.avcodec:
if self.options.with_zlib:
Expand Down

0 comments on commit 50f7365

Please sign in to comment.