diff --git a/client/freerdp-client.pc.in b/client/freerdp-client.pc.in index c2e547ce9..124c56f4c 100644 --- a/client/freerdp-client.pc.in +++ b/client/freerdp-client.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@FREERDP_INCLUDE_DIR@ libs=-lfreerdp-client@FREERDP_API_VERSION@ diff --git a/libfreerdp/freerdp.pc.in b/libfreerdp/freerdp.pc.in index 8508877ce..1429eb043 100644 --- a/libfreerdp/freerdp.pc.in +++ b/libfreerdp/freerdp.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@FREERDP_INCLUDE_DIR@ libs=-lfreerdp@FREERDP_API_VERSION@ diff --git a/rdtk/templates/rdtk.pc.in b/rdtk/templates/rdtk.pc.in index cb5799965..39c57fd03 100644 --- a/rdtk/templates/rdtk.pc.in +++ b/rdtk/templates/rdtk.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@RDTK_INCLUDE_DIR@ libs=-lrdtk@RDTK_VERSION_MAJOR@ diff --git a/server/freerdp-server.pc.in b/server/freerdp-server.pc.in index 795cc30bb..1c0a6d816 100644 --- a/server/freerdp-server.pc.in +++ b/server/freerdp-server.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@FREERDP_INCLUDE_DIR@ libs=-lfreerdp-server@FREERDP_API_VERSION@ diff --git a/server/proxy/freerdp-proxy.pc.in b/server/proxy/freerdp-proxy.pc.in index 41c76eda1..53bc83aed 100644 --- a/server/proxy/freerdp-proxy.pc.in +++ b/server/proxy/freerdp-proxy.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@FREERDP_INCLUDE_DIR@ libs=-lfreerdp-server-proxy@FREERDP_API_VERSION@ diff --git a/server/shadow/freerdp-shadow.pc.in b/server/shadow/freerdp-shadow.pc.in index 5ef85649e..fc5a24a84 100644 --- a/server/shadow/freerdp-shadow.pc.in +++ b/server/shadow/freerdp-shadow.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@FREERDP_INCLUDE_DIR@ libs=-lfreerdp-shadow@FREERDP_API_VERSION@ -lfreerdp-shadow-subsystem@FREERDP_API_VERSION@ diff --git a/uwac/templates/uwac.pc.in b/uwac/templates/uwac.pc.in index b1a965c1b..aecf14285 100644 --- a/uwac/templates/uwac.pc.in +++ b/uwac/templates/uwac.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@UWAC_INCLUDE_DIR@ libs=-luwac@UWAC_VERSION_MAJOR@ diff --git a/winpr/tools/winpr-tools.pc.in b/winpr/tools/winpr-tools.pc.in index 06c456b26..b9d3a0a3c 100644 --- a/winpr/tools/winpr-tools.pc.in +++ b/winpr/tools/winpr-tools.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@WINPR_INCLUDE_DIR@ libs=-lwinpr-tools@WINPR_TOOLS_API_VERSION@ diff --git a/winpr/winpr.pc.in b/winpr/winpr.pc.in index 377642ac1..9dc570895 100644 --- a/winpr/winpr.pc.in +++ b/winpr/winpr.pc.in @@ -1,5 +1,5 @@ prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@WINPR_INCLUDE_DIR@ libs=-lwinpr@WINPR_API_VERSION@