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.
31 lines
899 B
31 lines
899 B
From 0a484f7a0af68364ce98d6b9a7f1389c08163a35 Mon Sep 17 00:00:00 2001
|
|
From: Nicolas Chauvet <kwizart@gmail.com>
|
|
Date: Sat, 7 Apr 2018 19:16:00 +0200
|
|
Subject: [PATCH 10/11] 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 5d524f4..d025135 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.1
|
|
|