--- src/tools/lconvert/CMakeLists.txt.orig 2022-01-14 18:52:21 UTC +++ src/tools/lconvert/CMakeLists.txt @@ -39,7 +39,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "DARWIN") endif() if(CMAKE_SYSTEM_NAME MATCHES "(OpenBSD|FreeBSD|NetBSD)") - list(APPEND EXTRA_LCONVERT_LDFLAGS '-Wl,-rpath,$ORIGIN/../lib') + list(APPEND EXTRA_LCONVERT_LDFLAGS '-Wl,-rpath,${CS_FULL_LIBDIR}') endif() if(CMAKE_SYSTEM_NAME MATCHES "Linux")