Skip to content

Commit

Permalink
Fix FFmpeg configure for adding library private
Browse files Browse the repository at this point in the history
This will add libraries_private in libvmaf/src/meson.build to fix FFmpeg configuration issue.
  • Loading branch information
MartinEesmaa committed Jun 7, 2023
1 parent d48ab28 commit f36359d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libvmaf/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,17 @@ libvmaf = library(
install: true,
)

if compiler.get_id() == 'gcc':
libraries_private = ['-lstdc++']
else compiler.get_id() == 'clang':
libraries_private = ['-lc++']

pkg_mod = import('pkgconfig')
pkg_mod.generate(libraries: libvmaf,
version: meson.project_version(),
name: 'libvmaf',
filebase: 'libvmaf',
description: 'VMAF, Video Multimethod Assessment Fusion',
subdirs: [ '.', 'libvmaf']
subdirs: [ '.', 'libvmaf'],
libraries_private: libraries_private
)

0 comments on commit f36359d

Please sign in to comment.