[vlc-devel] [PATCH] Qt4 module requires -lm (pow,log) on solaris

Francois Cartegnie fcvlcdev at free.fr
Mon Jun 14 18:36:55 CEST 2010


---
 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}])
     ], [
-- 
1.5.6.5




More information about the vlc-devel mailing list