]> granicus.if.org Git - handbrake/commit
opus: fix opus.pc pkg-config file for static builds (#1380)
authorJohn Stebbins <jstebbins.hb@gmail.com>
Sat, 2 Jun 2018 18:05:48 +0000 (11:05 -0700)
committerGitHub <noreply@github.com>
Sat, 2 Jun 2018 18:05:48 +0000 (11:05 -0700)
commitb8c1375e6b71974ec00206905a30ee7d88a61065
treece35fd89eb4a9e0f618ce08863bc71f5c07b9af8
parent18e183a99205b7761846199894031da107febee9
opus: fix opus.pc pkg-config file for static builds (#1380)

The generated opus.pc file results in undefined symbols during ffmpeg's
configure tests.  libm is not getting added to the link line as
required.  The opus.pc file needs to include -lm in the Libs instead of
Libs.private when generating *only* a static library.
contrib/libopus/A00-static-pkg-config.patch [new file with mode: 0644]