From dec128d769148586522f9750d617dedd53bda575 Mon Sep 17 00:00:00 2001 From: SCG82 Date: Tue, 7 Jan 2020 06:39:02 -0800 Subject: [PATCH] fix mistake in qt plugins --- src/DylibBundler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DylibBundler.cpp b/src/DylibBundler.cpp index 4c333e8..94b41a7 100644 --- a/src/DylibBundler.cpp +++ b/src/DylibBundler.cpp @@ -235,10 +235,10 @@ void DylibBundler::bundleQtPlugins() if (fileExists(qt_plugins_prefix + plugin)) { mkdir(dest + plugin); copyFile(qt_plugins_prefix + plugin, dest); - std::vector files = lsDir(dest + plugin+"/"); + std::vector files = lsDir(dest + plugin + "/"); for (const auto& file : files) { - std::string file_to_fix = dest.append(plugin).append("/").append(file); - std::string new_rpath = std::string("@rpath/").append(plugin).append("/").append(file); + std::string file_to_fix = dest + plugin + "/" + file; + std::string new_rpath = std::string("@rpath/") + plugin + "/" + file; addFileToFix(file_to_fix); collectDependenciesRpaths(file_to_fix); changeId(file_to_fix, new_rpath);