projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a41009
)
Accept '-l foo' as library syntax: fixes #4869
author
Max Bolingbroke
<batterseapower@hotmail.com>
Sun, 15 May 2011 08:41:57 +0000
(09:41 +0100)
committer
Max Bolingbroke
<batterseapower@hotmail.com>
Sun, 15 May 2011 08:41:57 +0000
(09:41 +0100)
compiler/main/DynFlags.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DynFlags.hs
b/compiler/main/DynFlags.hs
index
7db0b9a
..
46f2aff
100644
(file)
--- a/
compiler/main/DynFlags.hs
+++ b/
compiler/main/DynFlags.hs
@@
-1185,8
+1185,8
@@
dynamic_flags = [
, Flag "dylib-install-name" (hasArg setDylibInstallName)
------- Libraries ---------------------------------------------------
- , Flag "L" (Prefix addLibraryPath)
- , Flag "l" (AnySuffix (upd . addOptl))
+ , Flag "L" (Prefix addLibraryPath)
+ , Flag "l" (hasArg (addOptl . ("-l" ++)))
------- Frameworks --------------------------------------------------
-- -framework-path should really be -F ...