We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 499dc54 commit e4cc27dCopy full SHA for e4cc27d
Setup.hs
@@ -41,9 +41,9 @@ reg desc binfo hooks flags = do
41
let
42
desc' = desc{ library = fmap lm (library desc) }
43
lm l = l { libBuildInfo = (libBuildInfo l)
44
- { ldOptions = map ("-Wl,-rpath," ++) (lib : extraLibDirs (libBuildInfo l) )
+ { ldOptions = map ("-Wl,-rpath," ++) (extraLibDirs (libBuildInfo l) )
45
++ ldOptions (libBuildInfo l),
46
- extraLibDirs = (pwd </> "src") : extraLibDirs (libBuildInfo l) } }
+ extraLibDirs = lib : extraLibDirs (libBuildInfo l) } }
47
lib
48
| fromFlag $ regInPlace flags = pwd </> "src"
49
| otherwise = libdir (absoluteInstallDirs desc binfo NoCopyDest)
0 commit comments