mirror of https://github.com/status-im/xgo.git
Allow multiple symbol defs to work around NDK issues.
This commit is contained in:
parent
5f1f769d88
commit
e170dc1898
|
@ -122,7 +122,7 @@ for TARGET in $TARGETS; do
|
|||
if [ "$PLATFORM" -ge 16 ]; then
|
||||
CGO_CCPIE="-fPIE"
|
||||
CGO_LDPIE="-fPIE"
|
||||
EXT_LDPIE="-extldflags=-pie"
|
||||
EXT_LDPIE="-extldflags=-pie -extldflags=-Wl,--allow-multiple-definition"
|
||||
else
|
||||
unset CGO_CCPIE CGO_LDPIE EXT_LDPIE
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue