1
0
mirror of https://github.com/libp2p/go-openssl.git synced 2025-04-24 17:50:13 +08:00

feat: openbsd support

This commit is contained in:
Steven Allen 2019-08-01 16:40:57 -07:00
parent adf4e19c17
commit 3d5df67ba7
3 changed files with 5 additions and 5 deletions

View File

@ -16,8 +16,8 @@
package openssl
// #cgo linux windows freebsd pkg-config: libssl libcrypto
// #cgo linux freebsd CFLAGS: -Wno-deprecated-declarations
// #cgo linux windows freebsd openbsd pkg-config: libssl libcrypto
// #cgo linux freebsd openbsd CFLAGS: -Wno-deprecated-declarations
// #cgo darwin CFLAGS: -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/openssl/include -Wno-deprecated-declarations
// #cgo darwin LDFLAGS: -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN

View File

@ -16,8 +16,8 @@
package openssl
// #cgo linux windows freebsd pkg-config: --static libssl libcrypto
// #cgo linux CFLAGS: -Wno-deprecated-declarations
// #cgo linux windows freebsd openbsd pkg-config: --static libssl libcrypto
// #cgo linux freebsd openbsd CFLAGS: -Wno-deprecated-declarations
// #cgo darwin CFLAGS: -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/openssl/include -Wno-deprecated-declarations
// #cgo darwin LDFLAGS: -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build linux darwin solaris freebsd
// +build linux darwin solaris freebsd openbsd
// +build !windows
package openssl