OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.6k stars 887 forks source link

ci20 fpic #5047

Closed malaterre closed 7 years ago

malaterre commented 7 years ago

Like x86_64, mipsel requires compiling shared libraries with -fPIC. Otherwise one would get a compilation error such as:

ld: /usr/lib/libsqlite3.a(sqlite3.o): relocation R_MIPS_HI16 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libsqlite3.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status