Skip to content

Commit

Permalink
Bring back c-sources: cbits/blst_util.c (#412)
Browse files Browse the repository at this point in the history
In #255 we somehow removed the
```
c-sources: cbits/blst_util.c
```
from the library. This included the symbol: `size_blst_p1`, which _is_ used in `cardano-crypto-class` 😱 .

E.g. https://github.com/input-output-hk/cardano-base/blob/e48f2ec561713f7a0863e58e34004b8099079cab/cardano-crypto-class/src/Cardano/Crypto/EllipticCurve/BLS12_381/Internal.hs#L372

And thus we now run into undefined symbols issues 🤯
  • Loading branch information
angerman authored May 12, 2023
1 parent e48f2ec commit f855e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cardano-crypto-class/cardano-crypto-class.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ library
integer-gmp

pkgconfig-depends: libsodium, libblst
c-sources: cbits/blst_util.c

if flag(secp256k1-support)
exposed-modules:
Expand Down

0 comments on commit f855e4b

Please sign in to comment.