diff --git a/changelog.md b/changelog.md index dc1cf67111..942441d06f 100644 --- a/changelog.md +++ b/changelog.md @@ -164,6 +164,9 @@ parameter and result types, not just their source-level shape. Use arrays slice via a `{base, off, len}` view. This also covers seq/non-numeric-array write-through, pass-through, re-slicing and `@` (openArray-to-seq) of such views. +- On `--os:ios`, the default file name for `--app:lib` is now `libfoo.dylib` + instead of `libfoo.so`, matching `--os:macosx` and the Darwin convention. + ## Tool changes - Added `--raw` flag when generating JSON docs to not render markup. diff --git a/compiler/platform.nim b/compiler/platform.nim index 62c8e3e90f..5d467b96c8 100644 --- a/compiler/platform.nim +++ b/compiler/platform.nim @@ -148,7 +148,7 @@ const objExt: ".o", newLine: "\x0A", pathSep: ":", dirSep: "/", scriptExt: ".sh", curDir: ".", exeExt: "", extSep: ".", props: {ospNeedsPIC, ospPosix, ospLacksThreadVars}), - (name: "iOS", parDir: "..", dllFrmt: "lib$1.so", altDirSep: "/", + (name: "iOS", parDir: "..", dllFrmt: "lib$1.dylib", altDirSep: "/", objExt: ".o", newLine: "\x0A", pathSep: ":", dirSep: "/", scriptExt: ".sh", curDir: ".", exeExt: "", extSep: ".", props: {ospNeedsPIC, ospPosix}),