Method: #get_libpath

Defined in:
ext/tk/extconf.rb

#get_libpath(lib_flag, lib_spec) ⇒ Object



420
421
422
423
# File 'ext/tk/extconf.rb', line 420

def get_libpath(lib_flag, lib_spec)
  # get libpath from {TCL,Tk}_LIB_FLAG and {TCL,Tk}_LIB_SPEC
  lib_spec.gsub(/(#{lib_flag}|-L)/, "").strip
end