build: allow non-standard variations of linker -l/-L flags
[ffmpeg.git] / libavformat / Makefile
index 82dc1c1..61e1fa1 100644 (file)
@@ -379,4 +379,4 @@ TOOLS     = aviocat                                                     \
             pktdumper                                                   \
             probetest                                                   \
 
-$(SUBDIR)output-example$(EXESUF): ELIBS = -lswscale
+$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale)