[vlc-devel] [PATCH 2/8] Do not link to ole32 when trying to build Qt4 module on OSX
Juho Vähä-Herttua
juhovh at iki.fi
Wed Jul 21 15:54:20 CEST 2010
---
configure.ac | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index dfe97be..8979233 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3891,8 +3891,13 @@ AS_IF([test "${enable_qt4}" != "no"], [
need_xid_provider="no"
VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS ${X_CFLAGS}])
], [
- VLC_ADD_LIBS([qt4],[$QT4_LIBS -lole32])
- VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS])
+ AS_IF([test "${SYS}" != "darwin"], [
+ VLC_ADD_LIBS([qt4],[$QT4_LIBS -lole32])
+ VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS])
+ ], [
+ VLC_ADD_LIBS([qt4],[$QT4_LIBS])
+ VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS])
+ ])
])
AC_PATH_PROGS(MOC, [moc-qt4 moc], moc,`eval $PKG_CONFIG --variable=exec_prefix QtCore`/bin)
AC_PATH_PROG(RCC, rcc, rcc,`eval $PKG_CONFIG --variable=exec_prefix QtCore`/bin)
--
1.7.0.4
More information about the vlc-devel
mailing list