summary refs log tree commit diff stats
path: root/compiler/options.nim
diff options
context:
space:
mode:
authorYuriy Glukhov <yuriy.glukhov@gmail.com>2016-11-30 00:25:03 +0200
committerYuriy Glukhov <yuriy.glukhov@gmail.com>2016-11-30 17:16:54 +0200
commita80a0972b7757b23b950ef032019d2b5007d9b19 (patch)
treea8db5356ba73881e8365127f48ee4fce500e6ec4 /compiler/options.nim
parentb1b2dd606ba736775868853657e331f287423dee (diff)
downloadNim-a80a0972b7757b23b950ef032019d2b5007d9b19.tar.gz
Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern.
Diffstat (limited to 'compiler/options.nim')
-rw-r--r--compiler/options.nim11
1 files changed, 0 insertions, 11 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index b04f6a963..04ed2412e 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -372,17 +372,6 @@ proc findModule*(modulename, currentModule: string): string =
     result = findFile(m)
   patchModule()
 
-proc libCandidates*(s: string, dest: var seq[string]) =
-  var le = strutils.find(s, '(')
-  var ri = strutils.find(s, ')', le+1)
-  if le >= 0 and ri > le:
-    var prefix = substr(s, 0, le - 1)
-    var suffix = substr(s, ri + 1)
-    for middle in split(substr(s, le + 1, ri - 1), '|'):
-      libCandidates(prefix & middle & suffix, dest)
-  else:
-    add(dest, s)
-
 proc canonDynlibName(s: string): string =
   let start = if s.startsWith("lib"): 3 else: 0
   let ende = strutils.find(s, {'(', ')', '.'})