From 7f8c3aeba3a9fb682ad10f012fcb8e2558aca3ed Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 28 Jul 2023 13:48:17 +0200 Subject: [PATCH] cmake: set up rpath for carla-utils pkg-config file Signed-off-by: falkTX --- cmake/carla-utils.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/carla-utils.pc.in b/cmake/carla-utils.pc.in index 197ca4eff..87ca5cba1 100644 --- a/cmake/carla-utils.pc.in +++ b/cmake/carla-utils.pc.in @@ -5,5 +5,5 @@ includedir=@CMAKE_INSTALL_INCLUDEDIR@ Name: carla-utils Version: @PROJECT_VERSION@ Description: Carla Host Utilities -Libs: -L${libdir}/carla -lcarla_utils +Libs: -Wl,-rpath,${libdir}/carla -L${libdir}/carla -lcarla_utils Cflags: -I${includedir}/carla -I${includedir}/carla/includes -I${includedir}/carla/utils