[vlc-devel] [PATCH] Qt4 module requires -lm (pow, log) on solaris
Rémi Denis-Courmont
remi at remlab.net
Mon Jun 14 19:05:25 CEST 2010
On Mon, 14 Jun 2010 18:36:55 +0200, Francois Cartegnie <fcvlcdev at free.fr>
wrote:
> ---
> configure.ac | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 1894cf1..7bd9fa8 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3930,6 +3930,7 @@ AS_IF([test "${enable_qt4}" != "no"], [
> ALIASES="${ALIASES} qvlc"
> AS_IF([test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce" -a
> "${SYS}" != "darwin"], [
> VLC_ADD_LIBS([qt4],[$QT4_LIBS ${X_LIBS} ${X_PRE_LIBS} -lX11])
> + AS_IF([test "${SYS}" = "solaris"], [VLC_ADD_LIBS([qt4],[-lm])])
> need_xid_provider="no"
> VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS ${X_CFLAGS}])
> ], [
There is already a check pow() somewhere. Just add qt4 in the list.
--
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list