Top Level Namespace

Defined Under Namespace

Modules: Net

Instance Method Summary collapse

Instance Method Details

Perfer $LIBPATH to $DEFLIBPATH



4
# File 'ext/net_smb/extconf.rb', line 4

alias original_try_link try_link


5
6
7
8
9
10
11
# File 'ext/net_smb/extconf.rb', line 5

def try_link(*args)
  deflibpath_saved = $DEFLIBPATH
  $DEFLIBPATH = ["."]|$LIBPATH|$DEFLIBPATH
  ret = original_try_link(*args)
  $DEFLIBPATH = deflibpath_saved
  return ret
end