Skip to content

Commit

Permalink
Keep one Morfeusz library file
Browse files Browse the repository at this point in the history
  • Loading branch information
kawu committed Oct 19, 2012
1 parent cb0c160 commit 2b7dc51
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Setup.hs
Expand Up @@ -11,6 +11,9 @@ import Setup.Configure
morfPath :: String
morfPath = "libmorfeusz"

morfLibSrc :: String
morfLibSrc = "libmorfeusz.so"

morfLibs :: [String]
morfLibs = ["libmorfeusz.so.0", "libmorfeusz.so"]

Expand All @@ -21,7 +24,7 @@ conf desc cfg = do
path <- sharedPath desc cfg
createDirectoryIfMissing True path
forM_ morfLibs $ \lib -> do
copyFile (morfPath </> lib) (path </> lib)
copyFile (morfPath </> morfLibSrc) (path </> lib)
C.configure desc $ cfg { configExtraLibDirs = [path] }
else do
C.configure desc cfg
Expand Down
1 change: 0 additions & 1 deletion libmorfeusz/libmorfeusz.so

This file was deleted.

Binary file added libmorfeusz/libmorfeusz.so
Binary file not shown.
Binary file removed libmorfeusz/libmorfeusz.so.0
Binary file not shown.
4 changes: 1 addition & 3 deletions morfeusz.cabal
Expand Up @@ -21,9 +21,7 @@ extra-source-files:

data-dir: libmorfeusz

data-files:
libmorfeusz.so
libmorfeusz.so.0
data-files: README, libmorfeusz.so

library
exposed-modules: NLP.Morfeusz
Expand Down

0 comments on commit 2b7dc51

Please sign in to comment.