mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
4180e6b31f
For some reason, one might want to recompile the extlibs but this is a tedious task. That's why these scripts are provided. Please read readme.txt before using them!
13 lines
285 B
Bash
Executable File
13 lines
285 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DESTDIR=$PWD/tmp/x86
|
|
|
|
PATH=$PWD/toolchains/x86/bin:$PATH
|
|
CC=i686-linux-android-gcc
|
|
CXX=i686-linux-android-g++
|
|
CFLAGS=-I$DESTDIR/usr/include
|
|
CPPFLAGS=-I$DESTDIR/usr/include
|
|
LDFLAGS=-L$DESTDIR/usr/lib
|
|
|
|
./compile_libs.sh x86 $PATH $CC $CXX $CFLAGS $CPPFLAGS $LDFLAGS
|