vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Jan 2 13:00:28 2017 +0200| [947b2075eef0f06f925c4c4284ab5e1cc3e19e40] | committer: Rémi Denis-Courmont
a52: add missing -lm (fixes #17837) liba52 does not provide a pkg-config file. libm was thus added to the AC_CHECK_LIB test. It needs to be added in VLC_ADD_LIBS as well. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=947b2075eef0f06f925c4c4284ab5e1cc3e19e40 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2f17465..29eaed9 100644 --- a/configure.ac +++ b/configure.ac @@ -2685,7 +2685,7 @@ then AC_CHECK_HEADERS(a52dec/a52.h, [ AC_CHECK_LIB(a52, a52_free, [ VLC_ADD_PLUGIN([a52]) - VLC_ADD_LIBS([a52],[${LDFLAGS_test} -la52]) + VLC_ADD_LIBS([a52],[${LDFLAGS_test} -la52 $LIBM]) VLC_ADD_CPPFLAGS([a52],[${CPPFLAGS_test}]) ],[ AC_MSG_ERROR([Could not find liba52 on your system: you may get it from http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the a52 plugin.]) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
