some wrap to cpp
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#include <openssl/crypto.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
void opensslFree(void *ptr) {
|
||||
OPENSSL_free(ptr);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
const (
|
||||
LLGoFiles = "$(pkg-config --cflags openssl): _wrap/openssl.c"
|
||||
LLGoFiles = "$(pkg-config --cflags openssl): _wrap/openssl.cpp"
|
||||
LLGoPackage = "link: $(pkg-config --libs openssl); -lssl -lcrypto"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user