summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2018-10-07 19:09:28 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2018-10-07 19:09:28 -0400
commit710185dec63700d073c6fd24101730b9f9b889e5 (patch)
tree52abe407c63ccc31323846a8e1f3a6e1a88a3244
parentdc21e4544d372a248604944cd0da14382990f0f3 (diff)
Explicitly link C++ standard libraryHEADmaster
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.urp2
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