mirror of
https://github.com/libp2p/go-openssl.git
synced 2025-02-28 09:40:09 +08:00
space monkey internal commit export
[katamari commit: f3af94e720239e8b417b04d73f7460818b9aedf7]
This commit is contained in:
parent
9191dc4a2c
commit
2e4eff6035
7
README.md
Normal file
7
README.md
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
### Using on Windows
|
||||
1. Install [mingw-w64](mingw-w64.sourceforge.net)
|
||||
2. Install [pkg-config-lite](http://sourceforge.net/projects/pkgconfiglite)
|
||||
3. Build (or install precompiled) openssl for mingw32-w64
|
||||
4. Set __PKG\_CONFIG\_PATH__ to the directory containing openssl.pc (i.e. c:\mingw64\mingw64\lib\pkgconfig)
|
5
build.go
5
build.go
@ -1,6 +1,5 @@
|
||||
package openssl
|
||||
|
||||
// #cgo !windows pkg-config: openssl
|
||||
// #cgo windows CFLAGS: -I /c/work/vendor/include -DWIN32_LEAN_AND_MEAN
|
||||
// #cgo windows LDFLAGS: -L /c/work/vendor/libs -lssl -lcrypto
|
||||
// #cgo pkg-config: openssl
|
||||
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
|
||||
import "C"
|
||||
|
Loading…
Reference in New Issue
Block a user