Skip to content

Commit f7ee8ca

Browse files
committed
Better code
1 parent 408f390 commit f7ee8ca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

recipes/secp256k1/all/conanfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ def package(self):
4545
cmake = CMake(self)
4646
cmake.install()
4747

48-
# Copy additional headers from src directory
49-
src_headers = ["util.h", "int128.h", "int128_impl.h", "scalar.h", "scalar_impl.h", "checkmem.h", "int128_native.h", "int128_native_impl.h", "scalar_4x64.h", "scalar_4x64_impl.h", "modinv64.h", "modinv64_impl.h"]
50-
for header in src_headers:
48+
# These headers are used by XRPLF/mpt-crypto which is why we need to package them.
49+
src_headers = ["util.h", "int128.h", "int128_impl.h", "scalar.h", "scalar_impl.h"]
50+
src_headers_dependencies = ["checkmem.h", "int128_native.h", "int128_native_impl.h", "scalar_4x64.h", "scalar_4x64_impl.h", "modinv64.h", "modinv64_impl.h"]
51+
for header in src_headers + src_headers_dependencies:
5152
copy(
5253
self,
5354
header,

0 commit comments

Comments
 (0)