In case of synliboverride we support only openssl 1.0.*

This commit is contained in:
Yuriy Glukhov 2016-11-30 16:22:52 +02:00
commit 581c0c437b
2 changed files with 64 additions and 51 deletions

View file

@ -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 =