diff --git a/ADApp/commonDriverMakefile b/ADApp/commonDriverMakefile index a579265f..4253a8bd 100644 --- a/ADApp/commonDriverMakefile +++ b/ADApp/commonDriverMakefile @@ -224,7 +224,11 @@ endif ifdef FFMPEGSERVER $(DBD_NAME)_DBD += ffmpegServer.dbd PROD_LIBS += ffmpegServer - PROD_LIBS += avdevice avformat avcodec swresample swscale avutil + ifeq ($(FFMPEG_EXTERNAL), NO) + PROD_LIBS += avdevice avformat avcodec swresample swscale avutil + else + PROD_SYS_LIBS += avdevice avformat avcodec swresample swscale avutil + endif PROD_SYS_LIBS += lzma endif