libgd: Fix pkgconfig file for cross compilation

This allows packages that use pkgconfig to find libgd properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-09-17 16:09:38 -07:00
parent 3e33919d10
commit c56ad06395
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B

View file

@ -14,9 +14,11 @@ new file mode 100644
index 00000000..fb828882 index 00000000..fb828882
--- /dev/null --- /dev/null
+++ b/config/gdlib.pc.cmake +++ b/config/gdlib.pc.cmake
@@ -0,0 +1,9 @@ @@ -0,0 +1,11 @@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@ +prefix=@CMAKE_INSTALL_PREFIX@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ +exec_prefix=@CMAKE_INSTALL_PREFIX@
+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+ +
+Name: gd +Name: gd
+Description: GD graphics library +Description: GD graphics library