From 6d34acbf3214de553f55e0d185ab54d5910a4594 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 25 Dec 2018 23:26:13 +0100 Subject: [PATCH] Use pkg-config on all the non-Mac Unices Make use of pkg-config to link to the ffmpeg libraries on all the Unix platforms other than Mac (instead of Linux only). This fixes the builing on those platforms. --- olive.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olive.pro b/olive.pro index baf24f86a..baccca849 100644 --- a/olive.pro +++ b/olive.pro @@ -205,7 +205,7 @@ mac { INCLUDEPATH = /usr/local/include } -linux { +unix:!mac { CONFIG += link_pkgconfig PKGCONFIG += libavutil libavformat libavcodec libavfilter libswscale libswresample }