diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-01-24 23:01:21 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-01-24 23:01:21 -0600 |
| commit | de775468c3dc8b30882d69fef0893585db85876f (patch) | |
| tree | ac676bcc86f1918665d32851d621ae8b03d6dc3d | |
| parent | f4d8ee1c5cf8b7422b8cb66811fa0d9518cee787 (diff) | |
| download | nimterop-de775468c3dc8b30882d69fef0893585db85876f.tar.gz nimterop-de775468c3dc8b30882d69fef0893585db85876f.zip | |
Fix on OSX
| -rw-r--r-- | nimterop/getters.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim index ed0652d..f287729 100644 --- a/nimterop/getters.nim +++ b/nimterop/getters.nim @@ -324,7 +324,7 @@ proc dll*(path: string): string = when defined(Linux): result = dir/"lib" & name.addFileExt("so") when defined(OSX): - result = dir/"lib" & name.addFileExt("dynlib") + result = dir/"lib" & name.addFileExt("dylib") proc loadPlugin*(fullpath: string) = doAssert fileExists(fullpath), "Plugin file does not exist: " & fullpath |
