st/xvmc: fix use of *.o in Makefile.xvmc
authorChristian König <deathsimple@vodafone.de>
Tue, 21 Feb 2012 13:08:14 +0000 (14:08 +0100)
committerChristian König <deathsimple@vodafone.de>
Tue, 28 Feb 2012 23:02:07 +0000 (00:02 +0100)
Signed-off-by: Christian König <deathsimple@vodafone.de>
src/gallium/targets/Makefile.xvmc

index a46183e8de687b63453c5548a4bcce151da39bb4..44da6609d952aca81825fc39fd893219377ff362 100644 (file)
@@ -27,9 +27,9 @@ else
 endif
 
 # XXX: Hack, XvMC public funcs aren't exported if we link to libxvmctracker.a :(
+C_SOURCES += $(wildcard $(TOP)/src/gallium/state_trackers/xvmc/*.c)
 OBJECTS = $(C_SOURCES:.c=.o) \
-         $(ASM_SOURCES:.S=.o) \
-         $(TOP)/src/gallium/state_trackers/xvmc/*.o
+         $(ASM_SOURCES:.S=.o)
 
 ##### RULES #####