rakepp 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require 'rake/gempackagetask'
4
4
  desc "Default Task"
5
5
  task :default => :package
6
6
 
7
- PKG_VERSION = '0.1.3'
7
+ PKG_VERSION = '0.1.4'
8
8
  PKG_FILES = FileList[
9
9
  'lib/**/*.rb',
10
10
  '*.xml',
@@ -174,11 +174,11 @@ def addExeTasks(artifact)
174
174
  command += " #{o}"
175
175
  end
176
176
 
177
- command += " -Wl,--start-group "
177
+ command += startOfLibs
178
178
  LibHelper.tr_libs(artifact.libs).each do |lib|
179
179
  command += addLib(task, lib)
180
180
  end
181
- command += " -Wl,--end-group"
181
+ command += endOfLibs
182
182
 
183
183
  sh command
184
184
  doAdditionalWorkForExe(artifact)
@@ -190,7 +190,12 @@ def addExeTasks(artifact)
190
190
  All.add(artifact.outFile)
191
191
  directory exesName
192
192
  end
193
-
193
+ def startOfLibs
194
+ return ''
195
+ end
196
+ def endOfLibs
197
+ return ''
198
+ end
194
199
  def doAdditionalWorkForExe(artifact)
195
200
  end
196
201
 
@@ -29,4 +29,12 @@ class LinuxCompiler < GccCompiler
29
29
  end
30
30
  end
31
31
 
32
+ def startOfLibs
33
+ return ' -Wl,--start-group '
34
+ end
35
+
36
+ def endOfLibs
37
+ return ' -Wl,--end-group '
38
+ end
39
+
32
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rakepp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Koestlin