aboutsummaryrefslogtreecommitdiffstats
path: root/ffi/go/bls/dummy.cpp
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-04-08 15:45:19 +0800
committerSonic <sonic@dexon.org>2019-04-10 15:49:45 +0800
commitb0a83abe7389df7f4c45adc3b52d957f3996322d (patch)
tree3cb57be8c43c39199f213fd0ae0ff3efb15399a2 /ffi/go/bls/dummy.cpp
parent0f278c5c52b63ca0041d1b55edab8760b392b081 (diff)
downloaddexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.gz
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.bz2
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.lz
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.xz
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.zst
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.zip
static link bls dependenciesdev
Diffstat (limited to 'ffi/go/bls/dummy.cpp')
-rw-r--r--ffi/go/bls/dummy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffi/go/bls/dummy.cpp b/ffi/go/bls/dummy.cpp
new file mode 100644
index 0000000..a5103a1
--- /dev/null
+++ b/ffi/go/bls/dummy.cpp
@@ -0,0 +1,3 @@
+// This is a dummy source file which forces cgo to use the C++ linker instead
+// of the default C linker. We can therefore eliminate non-portable linker
+// flags such as -lstdc++, which is likely to break on FreeBSD and OpenBSD.