1
0
mirror of https://github.com/libp2p/go-openssl.git synced 2025-03-25 13:30:07 +08:00

use pkgconfig on windows too

Change-Id: I6596c63c7c3b4509ac01c57a37ed1279991da8dc
This commit is contained in:
Andrew Harding 2014-08-15 17:26:29 -06:00
parent 199abcbc27
commit 10dbddf4e6
2 changed files with 2 additions and 2 deletions

View File

@ -16,6 +16,6 @@
package openssl
// #cgo pkg-config: openssl
// #cgo pkg-config: libssl
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
import "C"

View File

@ -18,7 +18,7 @@ package openssl
/*
#cgo windows LDFLAGS: -lssl -lcrypto -lws2_32 -lcrypt32 -lgdi32
#cgo pkg-config: libssl
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN