dev 1.0.90 → 1.0.91
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev/BoostBuild.rb +2 -2
- metadata +1 -1
data/lib/dev/BoostBuild.rb
CHANGED
@@ -15,7 +15,7 @@ class BoostBuild
|
|
15
15
|
flags = flags + "-" + words[3] if words.length == 5
|
16
16
|
result="<toolset>" + getToolset(words[1])
|
17
17
|
link="static"
|
18
|
-
link="shared" if filename.
|
18
|
+
link="shared" if filename.index("lib") != 0
|
19
19
|
link="shared" if filename.include?(".so")
|
20
20
|
result = result + " <link>" + link + " "
|
21
21
|
result = result + " <variant>release " if !flags.include?("d")
|
@@ -49,7 +49,7 @@ class BoostBuild
|
|
49
49
|
def self.getJamfileLine(filename)
|
50
50
|
words=filename.split('-')
|
51
51
|
library = words[0]
|
52
|
-
library = library[3,library.length-3] if library.
|
52
|
+
library = library[3,library.length-3] if library.index("lib") == 0
|
53
53
|
return "lib " + library + " : : <file>./" + filename + " " + getLibraryProperties(filename)
|
54
54
|
end
|
55
55
|
|