Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-openssl
Commits
3d5df67b
Commit
3d5df67b
authored
Aug 01, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: openbsd support
parent
adf4e19c
Pipeline
#408
failed with stages
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
build.go
build.go
+2
-2
build_static.go
build_static.go
+2
-2
init_posix.go
init_posix.go
+1
-1
No files found.
build.go
View file @
3d5df67b
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
package
openssl
package
openssl
// #cgo linux windows freebsd pkg-config: libssl libcrypto
// #cgo linux windows freebsd
openbsd
pkg-config: libssl libcrypto
// #cgo linux freebsd CFLAGS: -Wno-deprecated-declarations
// #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 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 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
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
...
...
build_static.go
View file @
3d5df67b
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
package
openssl
package
openssl
// #cgo linux windows freebsd pkg-config: --static libssl libcrypto
// #cgo linux windows freebsd
openbsd
pkg-config: --static libssl libcrypto
// #cgo linux CFLAGS: -Wno-deprecated-declarations
// #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 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 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
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
...
...
init_posix.go
View file @
3d5df67b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// See the License for the specific language governing permissions and
// limitations under the License.
// limitations under the License.
// +build linux darwin solaris freebsd
// +build linux darwin solaris freebsd
openbsd
// +build !windows
// +build !windows
package
openssl
package
openssl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment