salmon: remove static link to libstdc++ (#9343)

This commit is contained in:
Justin Stanley 2018-10-04 20:57:33 -05:00 committed by Levi Baber
parent d981f28a80
commit 011ad24950

View File

@ -38,6 +38,10 @@ class Salmon(CMakePackage):
depends_on('tbb')
depends_on('boost@:1.66.0')
def patch(self):
# remove static linking to libstdc++
filter_file('-static-libstdc++', '', 'CMakeLists.txt', string=True)
def cmake_args(self):
args = ['-DBOOST_ROOT=%s' % self.spec['boost'].prefix]
return args