summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
authorYuriy Glukhov <yuriy.glukhov@gmail.com>2016-11-30 16:22:52 +0200
committerYuriy Glukhov <yuriy.glukhov@gmail.com>2016-11-30 17:17:24 +0200
commit581c0c437b7cefce2ba0f33df70901e2b11181ab (patch)
tree7df0656ca254db0bd11dc3758b954bbc1e8c9bbe /compiler/commands.nim
parent975477527a33144f338f01f4a2b1754eb3c1bee9 (diff)
downloadNim-581c0c437b7cefce2ba0f33df70901e2b11181ab.tar.gz
In case of synliboverride we support only openssl 1.0.*
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index 590c4871d..f85e53511 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -226,6 +226,8 @@ proc testCompileOptionArg*(switch, arg: string, info: TLineInfo): bool =
     of "staticlib": result = contains(gGlobalOptions, optGenStaticLib) and
                       not contains(gGlobalOptions, optGenGuiApp)
     else: localError(info, errGuiConsoleOrLibExpectedButXFound, arg)
+  of "dynliboverride":
+    result = isDynlibOverride(arg)
   else: invalidCmdLineOption(passCmd1, switch, info)
 
 proc testCompileOption*(switch: string, info: TLineInfo): bool =