From ad71ccdb57a0e28f3c2eb610e4d405d068715658 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 26 Nov 2012 17:11:09 -0400 Subject: [PATCH] got this working --- Build/OSXMkLibs.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/OSXMkLibs.hs b/Build/OSXMkLibs.hs index a4b43f9f2b..cb8c017aed 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