mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
9c1b99bd26
commit
56ae207d2a
@ -111,10 +111,12 @@ func main() {
|
||||
|
||||
// Add ldflags to suppress linker errors (#932).
|
||||
// See https://github.com/golang/go/issues/17807
|
||||
if buildLdflags == "" {
|
||||
buildLdflags += " "
|
||||
if buildTarget == "android" {
|
||||
if buildLdflags != "" {
|
||||
buildLdflags += " "
|
||||
}
|
||||
buildLdflags += "-extldflags=-Wl,-soname,libgojni.so"
|
||||
}
|
||||
buildLdflags += "-extldflags=-Wl,-soname,libgojni.so"
|
||||
|
||||
if err := prepareGomobileCommands(); err != nil {
|
||||
log.Fatal(err)
|
||||
|
Loading…
Reference in New Issue
Block a user