]> git.sesse.net Git - mlt/commitdiff
Fix build on BSD with VDPAU (Alberto Villa).
authorDan Dennedy <dan@dennedy.org>
Tue, 1 Jun 2010 01:20:13 +0000 (18:20 -0700)
committerDan Dennedy <dan@dennedy.org>
Tue, 1 Jun 2010 01:20:13 +0000 (18:20 -0700)
src/modules/avformat/Makefile

index 6e0e86d02b3e503d31d6dd2a8102cc4644218be4..cdb1b9f5c71aea2923ed9b0376d9e20ada2c5a3f 100644 (file)
@@ -30,7 +30,7 @@ endif
 
 ifdef VDPAU
 CFLAGS += -DVDPAU `pkg-config --cflags x11`
-LDFLAGS += -ldl `pkg-config --libs x11`
+LDFLAGS += $(LIBDL) `pkg-config --libs x11`
 endif
 
 ifdef CODECS