diff --git a/src/core/appdir.cpp b/src/core/appdir.cpp index 27dfbd9..0bdca61 100644 --- a/src/core/appdir.cpp +++ b/src/core/appdir.cpp @@ -420,7 +420,7 @@ namespace linuxdeploy { rpathDestination = destination.parent_path().string(); } - auto relPath = bf::relative(bf::absolute(appDirPath) / "usr" / getLibraryDirName(path)), bf::absolute(rpathDestination)); + auto relPath = bf::relative(bf::absolute(appDirPath) / "usr" / getLibraryDirName(path), bf::absolute(rpathDestination)); rpath = "$ORIGIN/" + relPath.string(); }