summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-26 17:11:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-26 17:11:09 -0400
commit9951bab8df984741b1a7a23d0705b864d9eae695 (patch)
treeeb6ab3be265434e1e49d3fa033fc8624138be9cc
parent88afe8500eff4a1576846621d3a4d3a37f508557 (diff)
got this working
-rw-r--r--Build/OSXMkLibs.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/OSXMkLibs.hs b/Build/OSXMkLibs.hs
index a4b43f9f2..cb8c017ae 100644
--- a/Build/OSXMkLibs.hs
+++ b/Build/OSXMkLibs.hs
@@ -37,11 +37,11 @@ installLibs appbase = do
needlibs <- otool appbase
forM needlibs $ \lib -> do
let libdir = parentDir lib
- let dest = appbase </> lib
+ let dest = appbase ++ lib
ifM (doesFileExist dest)
( return Nothing
, do
- createDirectoryIfMissing True (appbase </> libdir)
+ createDirectoryIfMissing True (appbase ++ libdir)
_ <- boolSystem "cp" [File lib, File dest]
putStrLn $ "installing " ++ lib
return $ Just libdir