mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-04 09:22:27 +03:00
This fixes patch relocation of the output of pkgconfig by adding
missing keywords like prefix, exec_prefix, libdir and includedir.
The pkgconfig output changes are like following:
* Before:
$ pkg-config -libs libssh
-lssh
* After:
$ pkg-config -libs libssh
-LF:/msys64/ucrt64/lib -lssh
See https://people.freedesktop.org/~dbn/pkg-config-guide.html for
further documentation.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit 425353d986
)
11 lines
256 B
CMake
11 lines
256 B
CMake
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
Name: @PROJECT_NAME@
|
|
Description: The SSH Library
|
|
Version: @PROJECT_VERSION@
|
|
Libs: -L${libdir} -lssh
|
|
Cflags: -I${includedir}
|