зеркало из https://github.com/github/ruby.git
* enc/depend (LIBS): fixed for disable-shared. [ruby-dev:37103]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
56228b4da6
Коммит
8e6ad88737
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Nov 17 18:05:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* enc/depend (LIBS): fixed for disable-shared. [ruby-dev:37103]
|
||||||
|
|
||||||
Mon Nov 17 11:12:24 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
Mon Nov 17 11:12:24 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
* bin/erb: remove -K option.
|
* bin/erb: remove -K option.
|
||||||
|
|
|
@ -38,7 +38,6 @@ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(top_srcdir)
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
CPPFLAGS = @CPPFLAGS@ -DONIG_ENC_REGISTER=rb_enc_register
|
CPPFLAGS = @CPPFLAGS@ -DONIG_ENC_REGISTER=rb_enc_register
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LIBS = @LIBRUBYARG@ @LIBS@ $(EXTLIBS)
|
|
||||||
LDSHARED = @LDSHARED@
|
LDSHARED = @LDSHARED@
|
||||||
ldflags = $(LDFLAGS)
|
ldflags = $(LDFLAGS)
|
||||||
dldflags = @DLDFLAGS@
|
dldflags = @DLDFLAGS@
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
% enable_shared = CONFIG['ENABLE_SHARED'] == 'yes'
|
||||||
% deffile = (true if /\$\(DEFFILE\)/ =~ CONFIG["LINK_SO"])
|
% deffile = (true if /\$\(DEFFILE\)/ =~ CONFIG["LINK_SO"])
|
||||||
% encs = Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS
|
% encs = Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS
|
||||||
% encs.each {|e| e.chomp!(".c")}
|
% encs.each {|e| e.chomp!(".c")}
|
||||||
|
@ -40,6 +41,12 @@
|
||||||
|
|
||||||
VPATH = <%=%w[$(arch_hdrdir)/ruby $(hdrdir)/ruby $(srcdir) $(encsrcdir)].join(CONFIG["PATH_SEPARATOR"])%>
|
VPATH = <%=%w[$(arch_hdrdir)/ruby $(hdrdir)/ruby $(srcdir) $(encsrcdir)].join(CONFIG["PATH_SEPARATOR"])%>
|
||||||
LIBPATH = <%=libpathflag($DEFLIBPATH)%>
|
LIBPATH = <%=libpathflag($DEFLIBPATH)%>
|
||||||
|
LIBS = <%=
|
||||||
|
if enable_shared or RbConfig.expand(CONFIG["LIBRUBY"].dup) != RbConfig.expand(CONFIG["LIBRUBY_A"].dup)
|
||||||
|
CONFIG['LIBRUBYARG']
|
||||||
|
else
|
||||||
|
''
|
||||||
|
end %> <%=CONFIG['LIBS']%> $(EXTLIBS)
|
||||||
|
|
||||||
ENCOBJS = <%=encs.map {|e|"enc/#{e}.$(OBJEXT)"}.join(" \\\n\t ")%><%="\n" if encs.size>1%>
|
ENCOBJS = <%=encs.map {|e|"enc/#{e}.$(OBJEXT)"}.join(" \\\n\t ")%><%="\n" if encs.size>1%>
|
||||||
ENCSOS = <%=encs.map {|e|"$(ENCSODIR)/#{e}.$(DLEXT)"}.join(" \\\n\t ")%><%="\n" if encs.size>1%>
|
ENCSOS = <%=encs.map {|e|"$(ENCSODIR)/#{e}.$(DLEXT)"}.join(" \\\n\t ")%><%="\n" if encs.size>1%>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче