Update ni_common.cc
author최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
Mon, 18 Dec 2023 06:32:09 +0000 (15:32 +0900)
committer조웅석/MDE Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Mon, 19 Feb 2024 05:32:15 +0000 (14:32 +0900)
NativeLauncher/tool/ni_common.cc

index 6fbd707..43e9b19 100644 (file)
@@ -758,6 +758,7 @@ static ni_error_e doAOTList(std::vector<std::string>& dllList, const std::string
 
        // Error : Multiple input files matching same simple name
        // So, Remove dulicate files from dll list
+       std::sort(dllList.begin(), dllList.end());
        dllList.erase(unique(dllList.begin(), dllList.end()), dllList.end());
 
        // In the case of SPC, post-processing is required to change the name of the native image.