diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-09-17 16:09:38 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2019-09-17 16:09:38 -0700 |
commit | c56ad06395037628ddccf2620b5ce7a590e86ee8 (patch) | |
tree | 0b6a245190015c83e617f0c69640311695f4549b /libs/libgd | |
parent | 3e33919d1025e26760b200a3442b39bf1f4f0fc9 (diff) |
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>
Diffstat (limited to 'libs/libgd')
-rw-r--r-- | libs/libgd/patches/210-generate-install-gdlib.pc-for-cmake-builds-too-164.patch | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/libgd/patches/210-generate-install-gdlib.pc-for-cmake-builds-too-164.patch b/libs/libgd/patches/210-generate-install-gdlib.pc-for-cmake-builds-too-164.patch index 78a1988ed..79e44e670 100644 --- a/libs/libgd/patches/210-generate-install-gdlib.pc-for-cmake-builds-too-164.patch +++ b/libs/libgd/patches/210-generate-install-gdlib.pc-for-cmake-builds-too-164.patch @@ -14,9 +14,11 @@ new file mode 100644 index 00000000..fb828882 --- /dev/null +++ b/config/gdlib.pc.cmake -@@ -0,0 +1,9 @@ -+libdir=@CMAKE_INSTALL_FULL_LIBDIR@ -+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ +@@ -0,0 +1,11 @@ ++prefix=@CMAKE_INSTALL_PREFIX@ ++exec_prefix=@CMAKE_INSTALL_PREFIX@ ++libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ ++includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ + +Name: gd +Description: GD graphics library |