[Ffmpeg-cvslog] r6193 - trunk/vhook/Makefile

diego subversion
Fri Sep 8 01:06:14 CEST 2006


Author: diego
Date: Fri Sep  8 01:06:14 2006
New Revision: 6193

Modified:
   trunk/vhook/Makefile

Log:
LDFLAGS_$@ contains libs, not LDFLAGS, rename it accordingly.


Modified: trunk/vhook/Makefile
==============================================================================
--- trunk/vhook/Makefile	(original)
+++ trunk/vhook/Makefile	Fri Sep  8 01:06:14 2006
@@ -10,13 +10,13 @@
 
 ifeq ($(HAVE_IMLIB2),yes)
     HOOKS += imlib2$(SLIBSUF)
-    LDFLAGS_imlib2$(SLIBSUF) = -lImlib2
+    LIBS_imlib2$(SLIBSUF) = -lImlib2
 endif
 
 ifeq ($(HAVE_FREETYPE2),yes)
     HOOKS += drawtext$(SLIBSUF)
     CFLAGS += `freetype-config --cflags`
-    LDFLAGS_drawtext$(SLIBSUF) = `freetype-config --libs`
+    LIBS_drawtext$(SLIBSUF) = `freetype-config --libs`
 endif
 
 SRCS := $(HOOKS:$(SLIBSUF)=.c)
@@ -35,7 +35,7 @@
 	-rmdir "$(shlibdir)/vhook/"
 
 %$(SLIBSUF): %.o
-	$(CC) $(LDFLAGS) -g -o $@ $(VHOOKSHFLAGS) $< $(LDFLAGS_$@)
+	$(CC) $(LDFLAGS) -g -o $@ $(VHOOKSHFLAGS) $< $(LIBS_$@)
 
 clean:
 	rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll




More information about the ffmpeg-cvslog mailing list