space monkey internal commit export

[katamari commit: f3af94e720239e8b417b04d73f7460818b9aedf7]
This commit is contained in:
Andrew Harding 2014-01-24 09:03:18 -07:00 committed by JT Olds
parent 9191dc4a2c
commit 2e4eff6035
2 changed files with 9 additions and 3 deletions

7
README.md Normal file
View 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)

View File

@ -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"