summaryrefslogtreecommitdiffstats
path: root/dlib-pc.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-07-01 17:35:40 +0200
committerRemi Collet <remi@remirepo.net>2020-07-01 17:35:40 +0200
commit184767869e742dbf13a800e480c9df7cd4f76b3d (patch)
tree81b19d7a059a41067ed715655814d4b4582cc361 /dlib-pc.patch
parent8387ffb5a2f8675284dd9a0dcf36dfb56f7d5425 (diff)
use DTS 7 on EL-7
improve pkg-config fix
Diffstat (limited to 'dlib-pc.patch')
-rw-r--r--dlib-pc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dlib-pc.patch b/dlib-pc.patch
new file mode 100644
index 0000000..a0f32ba
--- /dev/null
+++ b/dlib-pc.patch
@@ -0,0 +1,11 @@
+diff -up ./dlib/cmake_utils/dlib.pc.in.old ./dlib/cmake_utils/dlib.pc.in
+--- ./dlib/cmake_utils/dlib.pc.in.old 2020-07-01 17:28:39.020626797 +0200
++++ ./dlib/cmake_utils/dlib.pc.in 2020-07-01 17:28:57.555572710 +0200
+@@ -4,5 +4,6 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDI
+ Name: @PROJECT_NAME@
+ Description: Numerical and networking C++ library
+ Version: @VERSION@
+-Libs: -L${libdir} -ldlib @pkg_config_dlib_needed_libraries@
++Libs: -L${libdir} -ldlib -lgif
++Libs.private: @pkg_config_dlib_needed_libraries@
+ Cflags: -I${includedir} @pkg_config_dlib_needed_includes@