Bug #9760 » early-libdir.patch
| lib/mkmf.rb | ||
|---|---|---|
|
end
|
||
|
end
|
||
|
def link_command(ldflags, opt="", libpath=$LIBPATH|$DEFLIBPATH)
|
||
|
def link_command(ldflags, opt="", libpath=[$libdir]|$LIBPATH|$DEFLIBPATH)
|
||
|
librubyarg = $extmk ? $LIBRUBYARG_STATIC : "$(LIBRUBYARG)"
|
||
|
conf = RbConfig::CONFIG.merge('hdrdir' => $hdrdir.quote,
|
||
|
'src' => "#{CONFTEST_C}",
|
||
| ... | ... | |
|
conf)
|
||
|
end
|
||
|
def libpathflag(libpath=$LIBPATH|$DEFLIBPATH)
|
||
|
def libpathflag(libpath=[$libdir]|$LIBPATH|$DEFLIBPATH)
|
||
|
libpath.map{|x|
|
||
|
case x
|
||
|
when "$(topdir)", /\A\./
|
||
| ... | ... | |
|
#
|
||
|
def create_makefile(target, srcprefix = nil)
|
||
|
$target = target
|
||
|
libpath = $LIBPATH|$DEFLIBPATH
|
||
|
libpath = [$libdir]|$LIBPATH|$DEFLIBPATH
|
||
|
message "creating Makefile\n"
|
||
|
MakeMakefile.rm_f "#{CONFTEST}*"
|
||
|
if CONFIG["DLEXT"] == $OBJEXT
|
||
| ... | ... | |
|
conf = yield(conf) if block_given?
|
||
|
mfile.puts(conf)
|
||
|
mfile.print "
|
||
|
libpath = #{($LIBPATH|$DEFLIBPATH).join(" ")}
|
||
|
libpath = #{([$libdir]|$LIBPATH|$DEFLIBPATH).join(" ")}
|
||
|
LIBPATH = #{libpath}
|
||
|
DEFFILE = #{deffile}
|
||
- « Previous
- 1
- 2
- Next »