From 1fd11f79ab5c45fd63daeb99a4953686eed0736f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Sun, 1 Aug 2010 16:54:55 +0200 Subject: [PATCH] qt4: don't use CPPFLAGS for moc, since it isn't necessary and just creates trouble on Mac --- modules/gui/qt4/Modules.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt4/Modules.am b/modules/gui/qt4/Modules.am index 01fd039f89..968ed19be5 100644 --- a/modules/gui/qt4/Modules.am +++ b/modules/gui/qt4/Modules.am @@ -206,7 +206,7 @@ resources.cpp: vlc.qrc $(DEPS_res) $(AM_V_GEN)$(RCC) -name vlc -o $@ $< .hpp.moc.cpp: - $(moc_verbose)$(MOC) $(DEFS) $(CPPFLAGS) -I$(top_builddir) `$(VLC_CONFIG) --cppflags plugin qt4` -o $@ $< + $(moc_verbose)$(MOC) $(DEFS) -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) `$(VLC_CONFIG) --cppflags plugin qt4` -o $@ $< .ui.h: $(AM_V_at)mkdir -p -- ui -- 2.39.2