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
418fabf8
Unverified
Commit
418fabf8
authored
Dec 06, 2019
by
Steven Allen
Committed by
GitHub
Dec 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4 from djdv/build/solaris
pass build flags on Solaris/Illumos
parents
f25c826a
da4f08fb
Pipeline
#410
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
build.go
build.go
+2
-2
build_static.go
build_static.go
+2
-2
No files found.
build.go
View file @
418fabf8
...
...
@@ -16,8 +16,8 @@
package
openssl
// #cgo linux windows freebsd openbsd pkg-config: libssl libcrypto
// #cgo linux freebsd openbsd CFLAGS: -Wno-deprecated-declarations
// #cgo linux windows freebsd openbsd
solaris
pkg-config: libssl libcrypto
// #cgo linux freebsd openbsd
solaris
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
...
...
build_static.go
View file @
418fabf8
...
...
@@ -16,8 +16,8 @@
package
openssl
// #cgo linux windows freebsd openbsd pkg-config: --static libssl libcrypto
// #cgo linux freebsd openbsd CFLAGS: -Wno-deprecated-declarations
// #cgo linux windows freebsd openbsd
solaris
pkg-config: --static libssl libcrypto
// #cgo linux freebsd openbsd
solaris
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
...
...
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