mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make cargo build work without visible link hacks (beware: contains invisible link hacks)
This commit is contained in:
parent
46824616d2
commit
748e0c55d1
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
[target.arm-linux-androideabi]
|
||||
ar = "arm-linux-androideabi-ar"
|
||||
linker = "arm-linux-androideabi-g++"
|
||||
linker = "./fake-ld.sh"
|
||||
|
||||
[target.arm-linux-androideabi.openssl]
|
||||
rustc-flags = "-l crypto -l ssl"
|
2
ports/gonk/fake-ld.sh
Executable file
2
ports/gonk/fake-ld.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
arm-linux-androideabi-g++ $@ $LDFLAGS -lGLESv2 -lsupc++ -L $GONKDIR/backup-flame/system/lib/ -L$GONKDIR/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi/
|
Loading…
Add table
Add a link
Reference in a new issue