Commit 4ed961f6 authored by batterseapower's avatar batterseapower
Browse files

Accept '-l foo' as library syntax: fixes #4869

parent 1a410093
...@@ -1185,8 +1185,8 @@ dynamic_flags = [ ...@@ -1185,8 +1185,8 @@ dynamic_flags = [
, Flag "dylib-install-name" (hasArg setDylibInstallName) , Flag "dylib-install-name" (hasArg setDylibInstallName)
------- Libraries --------------------------------------------------- ------- Libraries ---------------------------------------------------
, Flag "L" (Prefix addLibraryPath) , Flag "L" (Prefix addLibraryPath)
, Flag "l" (AnySuffix (upd . addOptl)) , Flag "l" (hasArg (addOptl . ("-l" ++)))
------- Frameworks -------------------------------------------------- ------- Frameworks --------------------------------------------------
-- -framework-path should really be -F ... -- -framework-path should really be -F ...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment