Skip to content

Commit

Permalink
Update cpp dune for Mac compatibility (#371)
Browse files Browse the repository at this point in the history
* Update cpp dune for Mac compatibility

* Update c_flags similar to cxx_flags
  • Loading branch information
vaivaswatha authored Jan 10, 2019
1 parent 6c95aaa commit ed4d3f1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/cpp/dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(libraries ctypes ctypes.foreign cryptokit)
(c_names generate_dsa_nonce)
(cxx_names c_schnorr DataConversion Schnorr)
(cxx_flags -std=c++11)
;; This is to link to OpenSSL on Mac.
(ocamlopt_flags (-ccopt -L/usr/local/opt/openssl/lib))
)
(c_flags -I/usr/local/opt/openssl/include)
(cxx_flags -std=c++11 -I/usr/local/opt/openssl/include)
)

0 comments on commit ed4d3f1

Please sign in to comment.