[Ffmpeg-cvslog] r6182 - trunk/vhook/Makefile
diego
subversion
Thu Sep 7 02:06:49 CEST 2006
Author: diego
Date: Thu Sep 7 02:06:48 2006
New Revision: 6182
Modified:
trunk/vhook/Makefile
Log:
Introduce a mechanism to add object-specific linker flags.
patch by Gustavo Sverzut Barbieri, barbieri gmail com
Modified: trunk/vhook/Makefile
==============================================================================
--- trunk/vhook/Makefile (original)
+++ trunk/vhook/Makefile Thu Sep 7 02:06:48 2006
@@ -10,13 +10,13 @@
ifeq ($(HAVE_IMLIB2),yes)
HOOKS += imlib2$(SLIBSUF)
- LDFLAGS += -lImlib2
+ LDFLAGS_imlib2$(SLIBSUF) = -lImlib2
endif
ifeq ($(HAVE_FREETYPE2),yes)
HOOKS += drawtext$(SLIBSUF)
CFLAGS += `freetype-config --cflags`
- LDFLAGS += `freetype-config --libs`
+ LDFLAGS_drawtext$(SLIBSUF) = `freetype-config --libs`
endif
SRCS := $(HOOKS:$(SLIBSUF)=.c)
@@ -35,7 +35,7 @@
-rmdir "$(shlibdir)/vhook/"
%$(SLIBSUF): %.o
- $(CC) $(LDFLAGS) -g -o $@ $(VHOOKSHFLAGS) $<
+ $(CC) $(LDFLAGS_$@) $(LDFLAGS) -g -o $@ $(VHOOKSHFLAGS) $<
clean:
rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll
More information about the ffmpeg-cvslog
mailing list