ruby-changes:47752
From: nobu <ko1@a...>
Date: Thu, 14 Sep 2017 00:28:23 +0900 (JST)
Subject: [ruby-changes:47752] nobu:r59868 (trunk): LIBPATHENV on Windows
nobu 2017-09-14 00:28:16 +0900 (Thu, 14 Sep 2017) New Revision: 59868 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59868 Log: LIBPATHENV on Windows * configure.in, win32/Makefile.sub: set LIBPATHENV to PATH on Windows, for extra DLLs. Modified files: trunk/configure.in trunk/win32/Makefile.sub Index: configure.in =================================================================== --- configure.in (revision 59867) +++ configure.in (revision 59868) @@ -3446,7 +3446,7 @@ AS_IF([test "$with_dln_a_out" != yes], [ https://github.com/ruby/ruby/blob/trunk/configure.in#L3446 : ${LDSHARED='$(CC) -shared'} XLDFLAGS="$XLDFLAGS -Wl,--stack,0x00200000,--enable-auto-import" DLDFLAGS="${DLDFLAGS} -Wl,--enable-auto-image-base,--enable-auto-import" - : ${LIBPATHENV=""} + : ${LIBPATHENV=PATH} : ${PRELOADENV=""} rb_cv_dlopen=yes], [hiuxmpp], [ : ${LDSHARED='$(LD) -r'}], Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 59867) +++ win32/Makefile.sub (revision 59868) @@ -917,6 +917,8 @@ s,@OUTFLAG@,$(OUTFLAG),;t t https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L917 s,@COUTFLAG@,$(COUTFLAG),;t t s,@CSRCFLAG@,$(CSRCFLAG),;t t s,@CPPOUTFILE@,-P,;t t +s,@PRELOADENV@,,;t t +s,@LIBPATHENV@,PATH,;t t s,@LIBPATHFLAG@, -libpath:%s,;t t s,@RPATHFLAG@,,;t t s,@LIBARG@,%s.lib,;t t -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/