Skip to content

Commit

Permalink
fix ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Dec 5, 2024
1 parent e9c1e5c commit 6202ba4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion init_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package openssl

// #cgo LDFLAGS: -ldl -pthread
// #cgo LDFLAGS: -ldl
// #include <stdlib.h>
// #include <dlfcn.h>
import "C"
Expand Down
1 change: 1 addition & 0 deletions internal/ossl/ossl_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package ossl
/*
#include "ossl_extra.h"
#include <stdint.h>
#cgo linux LDFLAGS: -ldl -pthread
*/
import "C"
import "unsafe"
Expand Down

0 comments on commit 6202ba4

Please sign in to comment.