1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

mkmf.rb: library path quote

* lib/mkmf.rb (LIBPATHFLAG): no needs to escape library path here.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-09-23 12:45:21 +00:00
parent de9093ad29
commit 255e1b05b1
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
Sun Sep 23 21:44:20 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
Sun Sep 23 21:45:14 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (LIBPATHFLAG): no needs to escape library path here.
* lib/mkmf.rb (MakeMakefile#configuration): make prefix paths
internal to deal with in Makefile.

View file

@ -2397,7 +2397,7 @@ MESSAGE
"$(LDSHARED) #{OUTFLAG}$@ $(OBJS) " \
"$(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)"
end
LIBPATHFLAG = config_string('LIBPATHFLAG') || ' -L"%s"'
LIBPATHFLAG = config_string('LIBPATHFLAG') || ' -L%s'
RPATHFLAG = config_string('RPATHFLAG') || ''
LIBARG = config_string('LIBARG') || '-l%s'
MAIN_DOES_NOTHING = config_string('MAIN_DOES_NOTHING') || 'int main(void) {return 0;}'