diff options
author | Benjamin Barenblat <bbaren@google.com> | 2018-10-07 19:09:28 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2018-10-07 19:09:28 -0400 |
commit | 710185dec63700d073c6fd24101730b9f9b889e5 (patch) | |
tree | 52abe407c63ccc31323846a8e1f3a6e1a88a3244 | |
parent | dc21e4544d372a248604944cd0da14382990f0f3 (diff) |
This library is a C++ library, but it will be linked by a C compiler.
Explicitly specify libstdc++ as a library dependency so linking will
succeed.
This is somewhat of a stopgap; in the long term, the build system
should figure out whether you’re linking against libstdc++ or libc++
and stick the correct one in lib.urp.
-rw-r--r-- | src/lib.urp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.urp b/src/lib.urp index 68c99eb..5c6203b 100644 --- a/src/lib.urp +++ b/src/lib.urp @@ -1,5 +1,5 @@ ffi hashFFI include hashFFI.h -link -lurweb_crypto_hash_openssl -lcrypto +link -lurweb_crypto_hash_openssl -lcrypto -lstdc++ hash |