You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vmaf/0010-Fix-libvmaf.pc-to-use-...

31 lines
893 B

From 8b4d74a98a95aa12d58f9ebaded2c562b62111f7 Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart@gmail.com>
Date: Sat, 7 Apr 2018 19:16:00 +0200
Subject: [PATCH] Fix libvmaf.pc to use Libs.private for pthread m
This avoid to link to pthread and m when not needed
Also avoid to link to a specitic libstdc++
(as reported in https://github.com/Netflix/vmaf/issues/122)
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
---
wrapper/libvmaf.pc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wrapper/libvmaf.pc b/wrapper/libvmaf.pc
index e48d5a8..416d327 100644
--- a/wrapper/libvmaf.pc
+++ b/wrapper/libvmaf.pc
@@ -10,6 +10,6 @@ URL: https://github.com/Netflix/vmaf
Requires:
Requires.private:
Conflicts:
-Libs: -L${libdir} -lvmaf -lstdc++ -lpthread -lm
-Libs.private:
+Libs: -L${libdir} -lvmaf
+Libs.private: -lpthread -lm
Cflags: -I${includedir}
--
2.17.2