From 81f02142b885f2dbe0b19f77b18a7d5736e1085b Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 26 Apr 2018 12:36:27 +0000 Subject: win32/Makefile.sub: LIBDIR_BASENAME * mjit.c (init_header_filename): support LIBDIR_BASENAME. * win32/Makefile.sub (config.h): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/Makefile.sub') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index e4d3d48a61..bd54f1debe 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -834,6 +834,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define DEFAULT_KCODE KCODE_NONE #define LOAD_RELATIVE 1 #define DLEXT ".so" +!if "$(libdir_basename)" != "lib" +#define LIBDIR_BASENAME "$(libdir_basename)" +!endif !if "$(EXTSTATIC)" == "static" #define EXTSTATIC 1 !endif -- cgit v1.2.3