Skip to content

Commit 7ce4986

Browse files
hekotaGreg Roth
authored andcommitted
Fix opt.exe external lib loading (#5049)
(cherry picked from commit 5223e25)
1 parent 8f4d1f4 commit 7ce4986

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/clang/tools/dxopt/dxopt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ int __cdecl wmain(int argc, const wchar_t **argv_) {
300300

301301
if (externalLib) {
302302
CW2A externalFnA(externalFn, CP_UTF8);
303-
CW2A externalLibA(externalFn, CP_UTF8);
303+
CW2A externalLibA(externalLib, CP_UTF8);
304304
IFT(g_DxcSupport.InitializeForDll(externalLibA, externalFnA));
305305
}
306306
else {

0 commit comments

Comments
 (0)