Allow multiple symbol defs to work around NDK issues.

This commit is contained in:
Péter Szilágyi 2015-10-22 19:07:35 +03:00
parent 5f1f769d88
commit e170dc1898
1 changed files with 1 additions and 1 deletions

View File

@ -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