lib/dev/BoostBuild.rb in dev-1.0.182 vs lib/dev/BoostBuild.rb in dev-1.0.184
- old
+ new
@@ -46,9 +46,16 @@
if(File.exists?(directory))
Dir.chdir(directory) do
File.open(jamfilename,'w') { |jamfile|
Dir.glob("*boost_*").each {|f|
jamfile.puts getJamfileLine(f)
+
+ # add <link>shared
+ line = getJamefileLine(f)
+ if(line.include?("<link>static"))
+ line = line.gsub("<link>static","<link>shared")
+ jamfile.puts line
+ end
}
}
end
end
end
\ No newline at end of file