But VLC building fail if I try:
Code: Select all
CPPFLAGS="-I/root/vlc/vlc_build/vlcdeps/usr/include"
LDFLAGS="-L/root/vlc/vlc_build/vlcdeps/usr/lib"
PKG_CONFIG_PATH="/root/vlc/vlc_build/vlcdeps/usr/lib/pkgconfig"
# ./configure --enable-static
# make
Code: Select all
CC access/zip/unzip/unzip.lo
CC access/zip/unzip/ioapi.lo
CCLD libunzip.la
CCLD libzip_plugin.la
/usr/bin/ld: ./.libs/libunzip.a(unzip.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
./.libs/libunzip.a(unzip.o): error adding symbols: Bad value