iOS: shared objects have .dylib extension.
authorMoritz Angermann <moritz.angermann@gmail.com>
Tue, 28 Feb 2017 16:07:45 +0000 (11:07 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 28 Feb 2017 20:43:38 +0000 (15:43 -0500)
Reviewers: austin, rwbarton, bgamari

Reviewed By: rwbarton

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3241

compiler/main/HscTypes.hs

index d729dcc..6473512 100644 (file)
@@ -2548,6 +2548,7 @@ soExt :: Platform -> FilePath
 soExt platform
     = case platformOS platform of
       OSDarwin  -> "dylib"
+      OSiOS     -> "dylib"
       OSMinGW32 -> "dll"
       _         -> "so"