aboutsummaryrefslogtreecommitdiffstats
path: root/cygwin
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-19 08:01:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-19 08:01:19 +0000
commit672059dcd4e2e06076c173d468a37e27841ddd9b (patch)
tree00eb07e4559a04c56ce43d9de9fc194edc0ba851 /cygwin
parentfeb6f33d6b5cb72829dbca8e2027d07117d5f6cf (diff)
downloadruby-672059dcd4e2e06076c173d468a37e27841ddd9b.tar.gz
strip stub program
* cygwin/GNUmakefile.in (STUBPROGRAM): strip. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/GNUmakefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in
index 514f17eb6a..e0d727e303 100644
--- a/cygwin/GNUmakefile.in
+++ b/cygwin/GNUmakefile.in
@@ -5,6 +5,7 @@ include Makefile
ENABLE_SHARED=@ENABLE_SHARED@
DLLWRAP = @DLLWRAP@ --target=@target_os@ --driver-name="$(CC)"
WINDRES = @WINDRES@ --preprocessor="$(CPP) -xc" -DRC_INVOKED
+STRIP = @STRIP@
ifeq (@target_os@,cygwin)
DLL_BASE_NAME := $(LIBRUBY_SO:.dll=)
@@ -76,6 +77,7 @@ $(STUBPROGRAM): $(RUBY_INSTALL_NAME).res.@OBJEXT@ win32/stub.@OBJEXT@
$(ECHO) linking $@
$(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) \
win32/stub.@OBJEXT@ $(EXTOBJS) $(LIBRUBYARG) $(LIBS) -o $@
+ $(if $(STRIP),$(Q) $(STRIP) $@)
$(RUBY_EXP): $(LIBRUBY_A)
$(ECHO) creating $@