Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to link against system version of the library #19

Open
niteria opened this issue Jun 23, 2017 · 2 comments
Open

Make it possible to link against system version of the library #19

niteria opened this issue Jun 23, 2017 · 2 comments

Comments

@niteria
Copy link

niteria commented Jun 23, 2017

double-conversion Haskell package copies the double-conversion C library into its source tree.
This works well enough for most use cases, but problems begin when you want to link your program with some other C library that depends on system installed double-conversion C library.

You end up with duplicate symbol definition errors like this:

double_conversion/lib/libdouble-conversion.a(double-conversion.o): multiple definition of 'double_conversion::DoubleToStringConverter::HandleSpecialValues(double, double_conversion::StringBuilder*) const'
@enzoh
Copy link

enzoh commented Dec 7, 2017

This is a problem for me as well.

@enzoh
Copy link

enzoh commented Dec 7, 2017

I implemented a workaround for SpiderMonkey: https://github.com/dfinity/hs-double-conversion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants