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:
parent
199abcbc27
commit
10dbddf4e6
2
build.go
2
build.go
@ -16,6 +16,6 @@
|
||||
|
||||
package openssl
|
||||
|
||||
// #cgo pkg-config: openssl
|
||||
// #cgo pkg-config: libssl
|
||||
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
|
||||
import "C"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user