LDFLAGS_$@ contains libs, not LDFLAGS, rename it accordingly.
authorDiego Biurrun <diego@biurrun.de>
Thu, 7 Sep 2006 23:06:14 +0000 (23:06 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 7 Sep 2006 23:06:14 +0000 (23:06 +0000)
Originally committed as revision 6193 to svn://svn.ffmpeg.org/ffmpeg/trunk

vhook/Makefile

index 60ff0bede088cdc40b76faf1f7a33adeb53c1e2a..3bb5561066289461ec1403d99039c2d0d6d37553 100644 (file)
@@ -10,13 +10,13 @@ ALLHOOKS=$(HOOKS) imlib2$(SLIBSUF) drawtext$(SLIBSUF)
 
 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 @@ uninstall:
        -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