diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-19 08:01:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-19 08:01:19 +0000 |
commit | 468a766b7628d278849cf95d805a6f31e3745813 (patch) | |
tree | 00eb07e4559a04c56ce43d9de9fc194edc0ba851 /cygwin | |
parent | 438f52d1a4aa03650a53911a66f7d81c4fc20d38 (diff) | |
download | bundler-468a766b7628d278849cf95d805a6f31e3745813.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.in | 2 |
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 $@ |