cgo: allow LDFLAGS: --export=...

Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
This commit is contained in:
Edoardo Vacchi
2023-05-04 15:37:48 +02:00
committed by Ayke
parent ee3af40cab
commit 4e41e9084a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -108,6 +108,7 @@ var goodLinkerFlags = [][]string{
{"-Fbar"},
{"-lbar"},
{"-Lbar"},
{"--export=my_symbol"},
{"-fpic"},
{"-fno-pic"},
{"-fPIC"},