salmon: remove static link to libstdc++ (#9343)
This commit is contained in:
parent
d981f28a80
commit
011ad24950
@ -38,6 +38,10 @@ class Salmon(CMakePackage):
|
|||||||
depends_on('tbb')
|
depends_on('tbb')
|
||||||
depends_on('boost@:1.66.0')
|
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):
|
def cmake_args(self):
|
||||||
args = ['-DBOOST_ROOT=%s' % self.spec['boost'].prefix]
|
args = ['-DBOOST_ROOT=%s' % self.spec['boost'].prefix]
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user