Skip to content

Commit 39168a5

Browse files
committed
fix fpic build
1 parent a5987cf commit 39168a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conanfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DiceHashConan(ConanFile):
2222
}
2323
default_options = {
2424
"shared": False,
25-
"fPIC": False,
25+
"fPIC": True,
2626
"with_test_deps": False,
2727
"with_blake": False
2828
}
@@ -33,7 +33,7 @@ class DiceHashConan(ConanFile):
3333

3434
def requirements(self):
3535
if self.options.with_blake:
36-
self.requires("libsodium/cci.20220430")
36+
self.requires("libsodium/cci.20220430", transitive_headers=True)
3737
self.requires("highway/1.2.0")
3838

3939
if self.options.with_test_deps:

0 commit comments

Comments
 (0)