Skip to content

Commit

Permalink
Add x64 layer in DLL path
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin D Smith committed Oct 12, 2017
1 parent 4bbf35c commit 7f2ebb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/swat.R
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
if ( file.exists(file.path(lib, pkg, 'libs', 'tkmk.so')) ) {
InitializeTK(file.path(lib, pkg, 'libs:'))
}
else if ( file.exists(file.path(lib, pkg, 'libs', 'tkmk.dll')) ) {
InitializeTK(file.path(lib, pkg, 'libs;'))
else if ( file.exists(file.path(lib, pkg, 'libs', 'x64', 'tkmk.dll')) ) {
InitializeTK(file.path(lib, pkg, 'libs', 'x64;'))
}
}
}
Expand Down

0 comments on commit 7f2ebb9

Please sign in to comment.